Create a file Server.java that creates a socket at a port number that one reads from the command…

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadlines.


Order a Similar Paper Order a Different Paper

1 Server.java Create a file Server.java that creates a socket at a port number that one reads from the command line. The server should receive a query prefix(this query is the same as prefix in the Autocomplete exercise of HW-3) and a file name to search the query in from client. Client is written in a separate file running on a different console as a separate process. 2 Client.java Create a file Client.java, that creates a socket of its own and operates on the same port as the Server (Server.java), the port number again, would have to be read from the command line; along with the query prefix and the data file you wish to search the query in. The port number should be the same that you chose to run the Server on. This process should be able to to send the prefix and the file name to the server process, which would eventually use the code from HW-3 to collect the results and transfer them to client process. The results should be declared on the client console.

Attachments:

"Is this question part of your assignment? We can help"

ORDER NOW
Writerbay.net

Do you need help with this or a different assignment? We offer CONFIDENTIAL, ORIGINAL (Turnitin/LopesWrite/SafeAssign checks), and PRIVATE services using latest (within 5 years) peer-reviewed articles. Kindly click on ORDER NOW to receive an A++ paper from our masters- and PhD writers.

Get a 15% discount on your order using the following coupon code SAVE15


Order a Similar Paper Order a Different Paper