change java server to receive and send information from/to client. But the implementation has not yet bben tested.
add a sender to send the ip address and port of the client to server