DOC PREVIEW
Rose-Hulman CSSE 432 - CSSE 432 Quiz 6

This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

219324 -- Data Communications and Computer Networks -- 1st Semester 2009 Quiz 6 Name:_________________________ ID: ____________ Grade:______________Answer the following questions:1. How does the peer2peer model in Kazaa differ from that of Napster?2. How does the peer2peer model in Kazaa differ from that of Gnutella?3. How are the sendto() and recvfrom() functions used with UDP connections different from the send() and recv() functions used with TCPconnections?4. Fill in the bits for a UDP packet sent from port 4 to port 5 that contains only 4 bytes of data: 1, 2, 3, 4. 1. Start by translating the source port to a 16-bit binary value:2. Translate the destination port to a 16-bit binary value:3. Compute the length of the packet and convert to a 16-bit binary value:4. Now fill in the fields of the packet. (The first 2 rows of this tableare just a guide for counting the bits.) Leave the checksum field blank for now. Fill it after step 5.1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 31 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 25. Compute the 1's complement checksum of the header and data fields as a 16-bit binary value. (UDP does the computation over the entire packet.) Perform this calculation over 16-bit words:Problem 2:Draw the state diagram for the receiver that implements reliable data transfer version


View Full Document

Rose-Hulman CSSE 432 - CSSE 432 Quiz 6

Download CSSE 432 Quiz 6
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view CSSE 432 Quiz 6 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view CSSE 432 Quiz 6 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?