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:
- 48:ee7e07fb401f
- Parent:
- 41:1c1b5ad4d491
--- a/Socket/TCPSocketConnection.h Mon Feb 02 00:10:06 2015 +0000
+++ b/Socket/TCPSocketConnection.h Tue Mar 31 02:48:32 2015 +0000
@@ -69,6 +69,13 @@
@return the number of received bytes on success (>=0) or -1 on failure
*/
int receive(char *data_p, int length);
+
+ /** Send data to the remote host.
+ @param data The buffer to send to the host.
+ @param length The length of the buffer to send.
+ @return the number of written bytes on success (>=0) or -1 on failure
+ */
+ int receive_all(char *data_p, int length);
void setAcceptSocket( int socket_id );
private:
muRata

Murata TypeYD