Write a Java application for a server that listens to a client. The server should run on port 8250. Once the server is running it should output “Server is starting….”, then it should wait to receive a message from the client. Once it receives the message, it should close the socket. Create a client that sends a message to the server through port 8250. The message that should be sent tothe server should be the sum of two numbers. Once it sends the message, it should close the socket.
Figure 2(attached) shows messages from the server:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here