Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ESP8266Interface by
Diff: Socket/UDPSocket.cpp
- Revision:
- 39:89e259295728
- Parent:
- 38:86e75901efc1
- Child:
- 40:0a83315aea0a
diff -r 86e75901efc1 -r 89e259295728 Socket/UDPSocket.cpp --- 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) {