The DaytimeUDPClient class is a UDP implementation of a client for the Daytime protocol described in RFC 867. To use the class, merely open a local datagram socket with
open and call
getTime to retrieve the daytime string, then call
close to close the connection properly. Unlike
DaytimeTCPClient , successive calls to
getTime are permitted without re-establishing a connection. That is because UDP is a connectionless protocol and the Daytime protocol is stateless.
@author Daniel F. Savarese
@see DaytimeTCPClient