UDP Socket application to read current time from network.
This is an UDP example to read current UTC time by sending request to NIST Internet Time Service.
README.md
- Committer:
- deepikabhavnani
- Date:
- 2017-10-18
- Revision:
- 0:b90f9dc5cf9c
File content as of revision 0:b90f9dc5cf9c:
### Getting started with the UDPSocket API ### UDP Example This application reads the current UTC time by sending UDP packet to time.nist.gov address at port 37. **Note:** The current example is limited to the ethernet interface on supported devices. To use the example with a different interface, you will need to modify main.cpp and replace the EthernetInterface class with the appropriate interface.