This example includes two programs. "UDPRecv" is a simple server that receives a series of numbers from the client "UDPSend". The server must be started in advance: $ java UDPRecv Port: 32874 It will output the UDP port number on which it is listening. You will need this number (and the name of the machine running the server) when you start the client: $ java UDPSend elite.cl.cam.ac.uk 32874 1 2 3 4 5 As usual the IPv4 address 127.0.0.1 can be used to mean "this machine" if you are running both parts of the progam on the same computer. The numbers "1 2 3 4 5" are the ones being sent in this example. The server should output the data received and then exit.