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:
39:89e259295728
Parent:
38:86e75901efc1
Child:
40:0a83315aea0a
--- a/Socket/UDPSocket.cpp	Sat May 02 04:05:35 2015 +0000
+++ b/Socket/UDPSocket.cpp	Sat May 02 04:08:30 2015 +0000
@@ -47,7 +47,9 @@
     Timer tmr;
     int idx = 0;
 
+
     confEndpoint(remote);
+    
     // initialize transparent mode if not already done
     if(!endpoint_configured) {
         // initialize UDP (default id of -1 means transparent mode)
@@ -56,6 +58,7 @@
         }
         endpoint_configured = true;
     }
+    
     tmr.start();
 
     while ((tmr.read_ms() < _timeout) || _blocking) {