for EthernetInterface library compatibility.\\ ** Unoffical fix. may be a problem. **

Dependents:   SNIC-httpclient-example SNIC-ntpclient-example

Fork of SNICInterface by muRata

Revision:
44:c50e7332afcc
Parent:
41:1c1b5ad4d491
--- a/Socket/TCPSocketConnection.h	Fri Nov 14 00:52:31 2014 +0000
+++ b/Socket/TCPSocketConnection.h	Fri Nov 21 03:50:48 2014 +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: