Question: Write two java codes for a TCP client and a server using a Socket/Server Socket. The client sends a file name to the server. The

Write two java codes for a TCP client and a server using a Socket/Server Socket. The client sends a file name to the server. The server reads the file content and sends it back to the client. If the file specified by the client doesnt exist in the server side, a message should be sent to the client The file does not exist. Then modify the code to let the server checks if there is any integer value in the file content. If there is an integer number, the server will send a message to the client Integer exists otherwise, the message Free of Integers.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!