Project Detail

TCP/IP socket programming in C  

TCP/IP socket programming in C is project number 422183
posted at Freelancer.com. Click here to post your own project.

 

| More
Free Trial For New Buyers
 

Status:

Selected Providers: Wadjet

Budget: $30-250

Created: 04/21/2009 at 13:47 EDT

Bid Count: 12

Average Bid:
$ 119

04/29/2009 at 13:47 EDT

Project Creator: prasadmylu
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (1 reviews)

Bid On This Project
 

Description

Develop TCP/IP client/server programs to simulate the full-duplex stop-and-wait data link protocol:

1. Write a connection-oriented File Server (FS) program to do the following:

a. Print the FS address (hostname, port_number, server name) on the screen.
b. Accept a connection request from the client.
c. 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.
FRAME data structure used should be the same as your previous assignment.


2. Write a client program to do the following:

a. Connect to the FS server using the FS address printed on the server screen.
b. 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.
(Optional: To decelop a full-duplex TCP connection on the client side so that it can send data packets and read acknowledgement at the same time by two different processes/threads.)

Protocol specifications:

a. Client and FS server communication should use the TCP/IP connection-oriented service.
The FRAME data size is limited to 1024-byte and 1-bit sending window size should be used.
You should use the sleep() function to simulate the transmission delay and message rate.
b. FS server must be a multi-process/multi-thread program to be able to serve multiple clients.
c. Assume the Data frames have 20% transmission errors, but they will not be lost.
Short ACK/NACK frames will not have transmission errors.
(Therefore no timer is needed to simulate this protocol.)
d. Using a random number generator (rand(...)) to simulate the transmission errors.


Testing

a. Start the FS server on a UNIX machine and print the FS server address on the screen.
b. Start the Client on a UNIX machine (optional on a machine other than the FS server machine) and then send the request to the FS server for uploading a large (at least 1MB) image file. (Find the FS server address from the server screen)

Job Type

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

120

2 days

04-21-2009 21:41 EDT

Dear sir, I am very interested in your project, Please see PMB for more details. Thanks. Best Regards.

help

 

100

2 days

04-22-2009 05:09 EDT

Hi. I'm nice to work. Thanks

help

 

100

3 days

04-22-2009 14:43 EDT

Please check PMB.

help

 

60

4 days

04-23-2009 09:45 EDT

Hello, Please Check PMB

help

 

100

7 days

04-22-2009 00:40 EDT

please check your PMB

help

 

100

2 days

04-22-2009 06:19 EDT

have a similar client server application ready at hand.. wont take long to customize...

help

 

100

5 days

04-21-2009 20:48 EDT

dear sir: I can do this work for you!I hope to cooperation with you sincerely.

help

 

120

11 days

04-22-2009 17:58 EDT

Hi, i could do this.

help

 

250

15 days

04-21-2009 14:13 EDT

(No Feedback Yet)

Hi, I'll do this task with pleasure.

help

 

30

1 day

04-21-2009 14:35 EDT

(No Feedback Yet)

i have lots of such module. :) When do you need them.

help

 

100

15 days

04-21-2009 22:21 EDT

(No Feedback Yet)

Currently, I'm working for company which specialize in VoIP technology. Developing SIP client and maintenance SIP server on Red Hat Linux then TCP/IP programming won't be a problem to me. I've got experiences on multithread using POSIX C also. Feel free contacting me.

help

 

250

15 days

04-22-2009 02:21 EDT

(No Feedback Yet)

Expertise in Network based projects

help


    Bid on this Project