Write client server program the client send any string and server reads the string ,find no of characters and digit and sends it back to client.
Answers
Answered by
0
hey
Java Program to Send a Message from Client to Server and Receive a Response Back Using Socket Programming
This Java Program
1. Make Use of Java Socket Programming
2. It starts a server which will be always running listening to a port 25000 (Server.java)
3. Client (Client.java) sends a number (message) to the server
4. Server receives this number and multiplies it by 2
5. Server (Server.java) sends back the result (message) to the client (Client.java)
6. In case the number sent by the client was not a proper number, server (Server.java) sends back the message “Please send a proper number” to the client (Client.java)
Similar questions
Social Sciences,
6 months ago
English,
6 months ago
Hindi,
6 months ago
Math,
1 year ago
Physics,
1 year ago