|
![]() |
![]() |
![]() |
![]() |
|
![]() |
Homework 3
Textbook problems: 4.21, 4.24, 4.36, 4.40, 4.45, 4.47, 5.7, 5.8, 5.9, 5.12, 5.14, 5.19 (Bonus problem) In the language of your choice, write a program that opens up a TCP connection to the machine www.cs.washington.edu 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. Email us a .tar.gz file with your source code, and instructions on how to compile and run it. |
![]() |
Computer Science & Engineering University of Washington Box 352350 Seattle, WA 98195-2350 (206) 543-1695 voice, (206) 543-2969 FAX [comments to gribble] |