A fork of the original interface for OS/2. Features a correctly-implemented recv (but retains the old behavior via recv2).
Dependents: weather_clock weather_clock
Diff: Socket/UDPSocket.cpp
- Revision:
- 30:c035696b9397
- Parent:
- 27:9c6cefc12f0c
- Child:
- 31:fd0eaf273b11
diff -r 939372104145 -r c035696b9397 Socket/UDPSocket.cpp --- a/Socket/UDPSocket.cpp Tue Apr 28 20:17:51 2015 +0000 +++ b/Socket/UDPSocket.cpp Wed Apr 29 22:43:03 2015 +0000 @@ -53,7 +53,7 @@ while ((tmr.read_ms() < _timeout) || _blocking) { - idx += wifi->send(packet, length); + idx += wifi->sendUDP(packet, length); if (idx == length) return idx;