CMSC 417 Homework Two: Networking Concepts and Implementation - Prof. Neil Spring, Assignments of Computer Systems Networking and Telecommunications

The instructions and questions for homework two in the computer networking course (cmsc 417). Students are required to read sections 1.4 and 2.2, and answer various questions related to uint32_t, socket calls order, differences between bind() and accept(), manchester encoding, baseline wander, multiplexing, and short frames. The homework is due on thursday, feb 21.

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

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

10 documents

1 / 2

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 Thursday Feb 21.
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. Draw the bits 01011010 as if transmitted by Manchester encoding. (Show low and high signals with time.)
5. Draw the bits 01011010 as if transmitted by NRZI. (Assume that the initial zero starts as “low”.)
Page 1 of 2
pf2

Partial preview of the text

Download CMSC 417 Homework Two: Networking Concepts and Implementation - Prof. Neil Spring 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 Thursday Feb 21.

  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. Draw the bits 01011010 as if transmitted by Manchester encoding. (Show low and high signals with time.)
  5. Draw the bits 01011010 as if transmitted by NRZI. (Assume that the initial zero starts as “low”.)

Page 1 of 2

CMSC 417 Homework Two

  1. Define baseline wander.
  2. Define multiplexing.
  3. Why have short frames? List two (distinct) reasons.

Page 2 of 2