This website requires JavaScript.
Explore
Help
Sign In
arduino
/
esp8266
Watch
1
Star
0
Fork
0
You've already forked esp8266
mirror of
https://github.com/esp8266/Arduino.git
synced
2025-06-16 11:21:18 +03:00
Code
Activity
Files
bc0f3c4fe165aafe60c4cda254e3d16bb6be69ec
esp8266
/
libraries
/
Ethernet
/
examples
/
UDPSendReceiveString
History
amcewen
bc0f3c4fe1
Fixes to UDP so that it no longer has socket 0 hardcoded - all part of issue
#436
. UdpClass::begin now finds the first available free socket, or fails if they're all in use. UdpClass::stop added to release the socket once it is no longer needed. The global Udp object has also been removed and the examples updated to provide their own instance. Finally, in testing I noticed that the UdpNtpClient didn't print leading 0s if the minute or second was a single-digit, so have taken the opportunity to provide a simple fix for it.
2010-12-28 15:16:42 +00:00
..
UDPSendReceiveString.pde
Fixes to UDP so that it no longer has socket 0 hardcoded - all part of issue
#436
. UdpClass::begin now finds the first available free socket, or fails if they're all in use. UdpClass::stop added to release the socket once it is no longer needed. The global Udp object has also been removed and the examples updated to provide their own instance. Finally, in testing I noticed that the UdpNtpClient didn't print leading 0s if the minute or second was a single-digit, so have taken the opportunity to provide a simple fix for it.
2010-12-28 15:16:42 +00:00