CSC 458: Computer Networks
Spring 2006

  •  Main
  •  Overview
  •  Blogger
  •  Lectures and readings
  •  Tutorials
  •  Midterms and exams
  •  Homework
  •  Projects
  •    

    Homework 3

    Textbook problems:
    
     4.21, 4.24, 4.36, 4.40, 4.45, 4.47
    
    (Bonus problem)
    
    In the language of your choice, write a program that opens up a
    TCP connection to the machine www.erin.utoronto.ca on port 80.
    Your program should send the following string:
    
    GET / HTTP/1.0\r\n\r\n
    
    (Where \r and \n are the ASCII characters 0xd0 and 0xa0, respectively.)
    Then your program should read data that is sent back to you on that
    same TCP connection, and print it out.
    
    Submit a .tar.gz file with your source code, and instructions on how to
    compile and run it.  
    

    Math & Computational Sciences
    University of Toronto at Mississauga