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/TCPSocketConnection.h
- Revision:
- 27:dcc4f34448f0
- Parent:
- 26:f2e1030964e4
- Child:
- 29:6a0ba999597d
--- a/Socket/TCPSocketConnection.h Fri Mar 28 03:03:40 2014 +0000
+++ b/Socket/TCPSocketConnection.h Mon Mar 31 02:06:14 2014 +0000
@@ -50,13 +50,13 @@
virtual ~TCPSocketConnection();
/** Connects this TCP socket to the server
- @param host The ip address to connect to.(hexadecimal)("192.168.0.1"->0xC0A80001)
+ @param host The strings of ip address.
@param port The host's port to connect to.
@return 0 on success, -1 on failure.
@note This function is blocked until a returns.
When you use it by UI thread, be careful.
*/
- int connect( unsigned int ip_addr, unsigned short port );
+ int connect( const char *ip_addr_p, unsigned short port );
/** Check if the socket is connected
@return true if connected, false otherwise.
muRata

Murata TypeYD