The TimeUDPClient class is a UDP implementation of a client for the Time protocol described in RFC 868. To use the class, merely open a local datagram socket with
open and call
getTime or
getDate to retrieve the time. Then call
close to close the connection properly. Unlike
TimeTCPClient , successive calls to
getTime or
getDate are permitted without re-establishing a connection. That is because UDP is a connectionless protocol and the Time protocol is stateless.
@author Daniel F. Savarese
@see TimeTCPClient