now this shit works

Dependencies:   BufferedSerial

Dependents:   IoTWeatherStation

Fork of ESP8266NodeMCUInterface by ESP8266

Files at this revision

API Documentation at this revision

Comitter:
mbedAustin
Date:
Sat May 02 04:08:30 2015 +0000
Parent:
38:86e75901efc1
Parent:
34:7ccda5d68a00
Child:
40:0a83315aea0a
Commit message:
trying to merge a previous rev

Changed in this revision

Socket/UDPSocket.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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) {