MCA 314 OBJECT ORIENTED ANALYSIS AND DESIGN MCA SEMESTER V (2008-2009) PRACTICAL TERM WORK 6 Name of Faculty : Aditya Patel Date of Given : 11 -11-2008 Date of Submission : 26-11-2008 Date of Return: 30-11-2008
TOPIC: JAVA SOCKETS
1. Implement a program to show usage of InetAddress Class in java.net package.
2. Implement a TCP Echo Client-server program using Java TCP stream sockets. 3. Write a client server routine in which the client passes the name of a file to the server. The server checks for the existence of the file. If the file exists then the contents of the file are made available to the client. Implement this using TCP sockets. 4. Write a client server routine in which the server returns the standard date and time to the client. The client has to make a request to the server and on receipt of the request the time is made available. Implement using UDP sockets. 5. Write a client server routine that implements the logic of single server and multiple clients. There are multiple clients trying to establish connection to the server. The server allows successful connection with the clients and returns the factorial of the number passed by the client. 6. Implement a Chat client/server application using Java sockets. 7. Implement a multiple client, single server program using Java sockets. The server calculates the factorial of the number sent by the client and returns the result to the client. 8. Develop a factorial server which returns the factorial of a number sent the client. Implement using UDP Datagram. 9. Write a FTP client/server application using Java sockets. 10. Write a TELNET client application using Java sockets. 11. Write a HTTP server application using Java sockets which implements HTTP GET method.