I have to write a client and server class for a UDP protocol sending integer numbers by UDP packets. So far i have this;

Client Code:

import java.io.*;
import java.net.*;

class UDPClient {...