The One-Stop Software Outsourcing Solution  


Custom Software Buyers
Request new bids
Search Coders
My Account
My General Info
My bid requests
  My escrow account
Help for Buyers
Articles for Buyers

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
My General Info
My bids
  My credit account
Help for Coders
Articles for Coders


My account
My pipeline
My credit account
Help for Affiliates
Newest Open Bid Requests.
Batch File Creator and file replicator
By TSSC on 6/23
Max Bid: $100

(Screen Shot)

Quickie Flash Graphic
By edward on 6/23
Max Bid: Open to fair suggestions

(Screen Shot)

Complete various tasks for PHP based website inclu ...
By busaganashi on 6/22
Max Bid: $125

Web Designs Needed
By Stas on 6/22
Max Bid: $500

Show Mac PICTs and SNDs in Windows app
By serfamodocious on 6/22
Max Bid: Open to fair suggestions

Quick question on adding DTpicker
By infomed on 6/22
Max Bid: Open to fair suggestions

Database Info Into Binary File
By Michael DeLong on 6/22
Max Bid: $250

Paintbrush Application
By cybercop on 6/22
Max Bid: Open to fair suggestions

PDF/DOC/RTF/XLS /PPT to html convertor()
By michael_lugassy on 6/22
Max Bid: Open to fair suggestions

Click here to put this ticker on your own site

Open Work Categories.
(75 open)
Documentation / Tech Writing 
(12 open)
Graphics / Art / Music 
(30 open)
(6 open)
     3d Animation 
(6 open)
   Art (Misc.) 
(7 open)
Language Specific 
(47 open)
(26 open)
(8 open)
   C++ / C 
(49 open)
   Cold Fusion 
(1 open)
(13 open)
(20 open)
(17 open)
(26 open)
(7 open)
   Visual Basic 
(96 open)
   Visual Basic .Net 
(26 open)
(18 open)
(23 open)
(22 open)
(17 open)
   Network Design 
(2 open)
   Network Implementation 
(5 open)
(37 open)
(94 open)
(1 open)
(4 open)
   Internet Browser 
(21 open)
(11 open)
   Hand Held/PDA Programming 
(1 open)
(3 open)
(10 open)
Testing / Quality Assurance 
(8 open)
(48 open)
   Page Design 
(19 open)
(13 open)
(2 open)
   Computer Based 
(2 open)
Other Sites

Download the free Rent A Coder IE toolbar!
Show Bid Request

Stop-and-Wait Protocol
Bid Request Id: 19294
Posted by: ajd (3 ratings)
(Software buyer rating 10)
Posted: 6/16/2002 9:47:35 PM EST
Bidding Closes: 6/17/2002 11:00:00 PM EST
Viewed: 123 times
100% of work was accepted by buyer. Coder account has been credited.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Language Specific, C++ / C, UNIX, Network, Network Design, Network Implementation
Enter chat room for this bid request
(0 active users)

Project 3: Stop-and-Wait Protocol
Due date: June 19th, 2002

When this project has been completed, the following outcomes should be realized.

Complete understanding of protocol 2 of handout
Able to implement round trip message passing
Use of UDP datagrams
Use of sockets for I/O
Understanding the role of ports and IP addresses for socket programming
Understanding of the data structures involved using the socket library
Understanding distributed processing (compared to multiprocessing)
Understanding of the Stop-and-Wait Protocol
Better understanding of protocol architecture. In particular, the services provided to the network layer and the physical layer services used by this protocol.
Your assignment is to implement the Stop-and-Wait Protocol 2 (assumes error free transmission). This protocol can be found in the handout of protocols. You also have a handout with TCP/IP system calls for sending and receiving UDP datagram.

This project requires two programs. One program should model the sender and the other should model the receiver given in the protocol handout. One main() should have the same layout as the sender of the protocol, and the other main() should have the same layout as the receiver of the protocol. By layout I mean the same function calls (your code provides the functions), e.g., from_network_layer() and the same while loop. Your variables declarations and formal parameters will differ from the protocol. Each main () should behave as a driver program. All variables should be declared in main() and passed to the appropriate functions. You may not have global variables!

The sender executable and the receiver executable should each execute on a different machine.

The call from_network_layer() obtains data to send. For your implementation of this function, I suggest prompting the user for a value to send. The call to_network_layer() passes the received data to the above layer. I suggest your implementation of this function simply writes the message received to the screen. You must provide these two functions.

The minimum system calls you will need are:


Your grade will be based on the correct implementation of this assignment. A program that does not compile and run receives a zero.

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

Complete copyrights to all work purchased.

Must be written in pure ANSI C and compile on Unix platform.

Must be 100% finished and received by buyer on:

Time legal notes: All times are expressed in the time zone of the site EST (GMT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EST on the indicated date.
6/19/2002 11:00:00 PM

Additional Attached Files

Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation, you can report it to:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name Bid Amount Date Coder Rating
This bid was accepted by the buyer!
(16 ratings)
in Norcross, Georgia
United States
$40 6/17/2002 3:39:31 AM EST  9.81
I can have this program completed for you within 24 hours of acceptance of my bid (if not earlier), and have it compile/run on all Unix platforms.

I have over 7 years of experience performing software development in C, C++, and Java.


Quick Search

 Advanced Search
Newest Open Work


Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through it's parent company, Exhedra Solutions, Inc.

Rent A Coder Top Coders.

Rated a 10 on 14 jobs 
Anuj Gakhar
Rated a 9.97 on 44 jobs 
Rated a 9.9 on 21 jobs 
Rated a 9.88 on 28 jobs 
Michael Sharp
Rated a 9.96 on 85 jobs 
Sammy Leong
Rated a 9.96 on 79 jobs 
Theo Kandilioti s
Rated a 10 on 20 jobs 
Rated a 9.85 on 14 jobs 
Cyquester Technologi es
Rated a 10 on 56 jobs 
Appwalk Technologi es Canada
Rated a 10 on 16 jobs 

See all top coders...

What makes a top coder?
Rent A Coder is PayPal verified through it's parent company, Exhedra Solutions, Inc.

Created in partnership with:

In memory of the victims and the courageous rescuers of 9/11/2001

Affiliate Sites

About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm) and "Safe Project Escrow" is a trademark of Exhedra Solutions, Inc.