modified by ohneta
Fork of ESP8266 by
Diff: ESP8266.h
- Revision:
- 9:dcf3aa250bc1
- Parent:
- 8:80048194de79
--- a/ESP8266.h Thu Jul 23 21:25:06 2015 +0000 +++ b/ESP8266.h Sun Jul 26 21:53:38 2015 +0000 @@ -107,7 +107,7 @@ * @param addr the IP address of the destination * @return true only if socket opened successfully */ - bool openSocket(string sockType, int id, int port, char* addr); + bool openSocket(string sockType, int id, int port, const char* addr); /** * Sends data to an open socket