The One-Stop Software Outsourcing Solution
|
Login
|
|
Show Bid Request
Stop-and-Wait Protocol
Bid Request Id: 19294
|
Bookmark
|
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
|
|
|
|
Description:
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:
socket() bind() gethostbyname() gethostname() sendto() recvfrom()
Your grade will be based on the correct implementation of this assignment. A program that does not compile and run receives a zero.
Deliverables: 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.
Platform:
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: abuse@rentacoder.com.
|
|
Bidding/Comments:
|
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!
|
$40
|
6/17/2002 3:39:31 AM EST
|
9.81
(Excellent)
|
|
|
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.
|
|
|
|
|
|
|
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.
|
|
|
See all top coders...
What makes a top coder?
Created in partnership with:
|
|
In memory of the victims and the courageous rescuers of 9/11/2001
|
|