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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started