java.lang.Object | +--org.apache.commons.net.DatagramSocketClient | +--org.apache.commons.net.DiscardUDPClientKnown Direct Subclasses:
DiscardTCPClient
static int | The default discard port. |
void | send(byte[] data, int length, InetAddress host, int port) Sends the specified data to the specified server at the specified port. |
void | send(byte[] data, int length, InetAddress host) Same as send(data, length, host. |
void | send(byte[] data, InetAddress host) Same as send(data, data.length, host. |
public static final int DEFAULT_PORT
public DiscardUDPClient()
public void send(byte[] data, InetAddress host)
send(data, data.length, host. DiscardUDPClient.DEFAULT_PORT).
public void send(byte[] data, int length, InetAddress host)
send(data, length, host. DiscardUDPClient.DEFAULT_PORT).
public void send(byte[] data, int length, InetAddress host, int port)
- If an error occurs during the datagram send
operation.