SNIC UART Interface library: Serial to Wi-Fi library for Murata TypeYD Wi-Fi module. For more information about TypeYD: http://www.murata.co.jp/products/microwave/module/lbwb1zzydz/index.html
Dependents: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface by
Diff: Socket/Endpoint.cpp
- Revision:
- 38:f13e4e563d65
- Parent:
- 35:e4e7f86fd975
- Child:
- 39:a1233ca02edf
--- a/Socket/Endpoint.cpp Tue Jun 24 06:24:23 2014 +0000 +++ b/Socket/Endpoint.cpp Wed Jun 25 00:04:11 2014 +0000 @@ -46,11 +46,11 @@ mIpAddress[0] = '\0'; } -int Endpoint::set_address(const char* host, const int port) +int Endpoint::set_address(const char* host_p, const int port) { reset_address(); - strcpy( mIpAddress, host ); + strcpy( mIpAddress, host_p ); mPort = port; return 0;