_Client Server Communication_ The project should deal with client-server communication using sockets. The client works as a simple terminal. It lists server-side file/folders and displays server-side text files on the client side.
_You have to develop a CLIENT, which should do the following (Points distribution):
_ After the client program is launched, implement a command “login?? to request the setting up of a connection with the server given the server name and port number as parameters. That is, the command should use the following format: “login servername portnumer??. Upon the setup of the connection, it displays the IP address of the server on the client side
--- Implement a command “ls??, which asks the server to return the file list of the current folder and then displays the file list of current server folder on the client
---- Implement a command “more filename??, which asks the server to return the content of a text file on the server and then displays the content of that file on the client side
---- Implement a command “exit??, which asks the server to terminate connection
_You have to develop a server, which should do the following_
Accept a connection request from the client and establish the connection
-Server program should be executed with port no as parameter
-Accept a folder list request from the client and return to client the list of the current folder
-Accept a text file request from the client and return to client the content of that text file
-Accept a termination request from the client and terminate the connecton to that client
Deliverables : Source code
Manual regarding how to run your program
The programming language should be JAVA and the program should work fine with JVM 1.2 or greater
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Operating system:-Windows 98 or higher
Programming Language:-Java 1.2 or higher