A fork of the original interface for OS/2. Features a correctly-implemented recv (but retains the old behavior via recv2).

Dependencies:   BufferedSerial

Dependents:   weather_clock weather_clock

Revision:
50:f484783b8a34
Parent:
30:c035696b9397
--- a/Socket/TCPSocketConnection.h	Sun Mar 31 00:53:46 2019 +0000
+++ b/Socket/TCPSocketConnection.h	Sun Mar 31 03:08:45 2019 +0000
@@ -64,7 +64,7 @@
     \param length The maximum length of the buffer.
     \return the number of received bytes on success (>=0) or -1 on failure
      */
-    int receive(char* data, int length);
+    int receive(char* data, int length, int offset);
     
     /** Receive all the data from the remote host.
     \param data The buffer in which to store the data received from the host.