Changed UDP and TCP port.
And added the handshake functionality in clinetlistener.java