h o m e b i o a c a d e m i c s p r o j e c t s s k i l l s c o n t a c t

File transfer application using TCP / IP Network Programming:


This project is to develop TCP/IP client-server programs to simulate the full-duplex stop-and-wait data link protocol. Protocol specifications are as follows:
1. Client and server communication should use the TCP/IP connection-oriented service.
2. Frame data size is limited to 1024-byte and 1-bit sending window size should be used.
3. sleep() function should be used to simulate the transmission delay and message rate.
4. Server must be a multi-process/multi-thread program and should be able to serve multiple clients.
5. Here we assume the Data frames have 20% transmission errors, but they will not be lost. And short ACK/NACK frames will not have transmission errors.
6. Random number generator (rand(...)) is used to simulate the transmission errors.
7. Connection-oriented File Server (FS) program has to do the following:
 » Print the FS address (hostname, port_number) on the screen.
 » Accept a connection request from the client.
 » Fork/Create a child process/thread to process the client request.
 » Receive the file uploaded from the client in a number of data frames using the stop-and-wait protocol with Positive and Negative acknowledgment.
8. Connection-oriented client program has to do the following:
 »Connect to the FS server using the FS address printed on the server screen.
 »Upload an image file to the FS server simulating the stop-and-wait protocol with Positive and Negative acknowledgment. Simulate the transmission errors by using random number generating function.


<< Previous

Next >>

Copyright Padma Nagulapalli
Please Bookmark (Ctrl+D) or Add Us to your favorites