Computer Network - Solution for Homework 2 Questions | CMSC 417, Assignments of Computer Systems Networking and Telecommunications

Material Type: Assignment; Professor: Spring; Class: Computer Networks; Subject: Computer Science; University: University of Maryland; Term: Fall 2006;

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

koofers-user-dwf-2
koofers-user-dwf-2 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CMSC 417 Homework Two
Name:
Read 1.4 and 2.2.
Due Wednesday, September 13.
1. Why use uint32_t? Why not use “unsigned int” instead?
2. Order the following calls for the same socket: close, socket, bind, accept, listen.
3. Why does bind() take an address length as a value, while accept() takes an address length as a pointer to a value
(which may be overwritten). Restated, what can accept() change that bind cannot? (You may need to refer to the
man pages to answer this question.)
4. What does a packet look like when carrying a piece of a web page across an 802.11 link? That is, what protocol
headers are where?
Page 1 of 1

Partial preview of the text

Download Computer Network - Solution for Homework 2 Questions | CMSC 417 and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

CMSC 417 Homework Two

Name: Read 1.4 and 2.2. Due Wednesday, September 13.

  1. Why use uint32_t? Why not use “unsigned int” instead?
  2. Order the following calls for the same socket: close, socket, bind, accept, listen.
  3. Why does bind() take an address length as a value, while accept() takes an address length as a pointer to a value (which may be overwritten). Restated, what can accept() change that bind cannot? (You may need to refer to the man pages to answer this question.)
  4. What does a packet look like when carrying a piece of a web page across an 802.11 link? That is, what protocol headers are where?

Page 1 of 1