This website requires JavaScript.
Explore
Help
Register
Sign In
rooty
/
Arduino
Watch
1
Star
0
Fork
0
You've already forked Arduino
mirror of
https://github.com/arduino/Arduino.git
synced
2025-01-18 07:52:14 +01:00
Code
Issues
Releases
Activity
Arduino
/
libraries
/
Ethernet
/
examples
/
UdpNtpClient
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
..
UdpNtpClient.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