Show Bid Request
Stop-and-Wait Protocol
Bid Request Id: 19294
|
|
|
Posted by: |
ajd (4 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 0.00%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Jun 16, 2002 9:47:35 PM EDT
|
Bidding Closes: |
Jun 17, 2002 11:00:00 PM EDT
|
Viewed (by coders): |
160 times
|
Deadline: |
6/19/2002 11:00:00 PM
TIME EXPIRED
|
|
|
|
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:
Jun 19, 2002 11:00:00 PM EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
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 please help out the site and report it. Thanks for your help.
|
|
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 (USD)
|
Jun 17, 2002 3:39:31 AM EDT
|
9.62
(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.
|
|
|
|
|
|