Class UDPClient

java.lang.Object
com.ensea_chatapp_udp.Client.UDPClient

public class UDPClient extends Object
This is a class to implement a UDP Client which send data to the UDP server

The class takes two optional command line arguments: the first argument is the server ip address, and the second argument is server ip address. In the case that the address or ports are absent, the localhost is the default address and 8439 is the default port.

Usage: java com.ensea_chatapp_udp.Client.UDPClient

Usage: java com.ensea_chatapp_udp.Client.UDPClient server_ip

Usage: java com.ensea_chatapp_udp.Client.UDPClient server_ip server_port