please submit four java classes files that hopefully implement both TCP and UDP implementations for the following:
1- A server that responds to only "Ping" messages from clients with "Pong" messages.
2- The server should respond to any other messages with a "Not the right message" response.
3- Your server should be able to handle multiple clients simultaneously. (Using Multi-threading)
4- When the client successfully starts a connection with the server, the server should maintain the connection until the client enters "Exit" then, you could end the connection.
any one can help