Example usage for Java org.apache.commons.net.daytime DaytimeTCPClient fields, constructors, methods, implement or subclass
The text is from its open source code.
DaytimeTCPClient() The default DaytimeTCPClient constructor. |
void | connect(InetAddress host) Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port. |
void | disconnect() Disconnects the socket connection. |
String | getTime() Retrieves the time string from the server and returns it. |
void | setDefaultTimeout(int timeout) Set the default timeout in milliseconds to use when opening a socket. |