Java org.apache.commons.net.daytime DaytimeUDPClient fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.daytime DaytimeUDPClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.daytime DaytimeUDPClient.

The text is from its open source code.

Constructor

Method

voidclose()
Closes the DatagramSocket used for the connection.
StringgetTime(InetAddress host)
Same as getTime(host, DaytimeUDPClient.DEFAULT_PORT);
voidopen()
Opens a DatagramSocket on the local host at the first available port.
voidsetDefaultTimeout(int timeout)
Set the default timeout in milliseconds to use when opening a socket.