Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/exp/exp3.2.php on line 2

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/exp/exp3.2.php on line 2

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/exp/exp3.2.php on line 3

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/exp/exp3.2.php on line 4

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/exp/exp3.2.php on line 5

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/exp/exp3.2.php on line 8

 

 


Douglas E. Comer


Computer Science Department
Purdue University
West Lafayette, IN 47907

webmaster: W. David Laverell


Companion Topics

Home

Book Information

Purpose of Site

Getting Started

Students

Faculty

"What's New"

"Coming Attractions"

"C Pointers"

Acknowledgements

 

 
Hands-On Networking: Experiment 3.2 Home > Student > Experiments > 3.2

Experiment 3.2

Chapter 3
3.1 3.2 3.3 3.4 3.5

Here is a condensed version of what you should see on a Unix machine:
Script started on Tue 14 Jun 2005 10:22:18 AM EDT
stallman ~$ telnet www.labbook.cs.purdue.edu 80
Trying 128.10.19.20...
Connected to www.labbook.cs.purdue.edu.
Escape character is '^]'.
GET http://www.labbook.cs.purdue.edu HTTP/1.0

HTTP/1.0 200 OK
Date: Tue, 14 Jun 2005 14:23:23 GMT
Server: Apache/2.0.50 (Unix) PHP/5.0.2
X-Powered-By: PHP/5.0.2
Content-Length: 7321
Content-Type: text/html; charset=ISO-8859-1
Via: 1.1 labbook.cs.purdue.edu (Apache/1.3.31)
X-Cache: MISS from labbook.cs.purdue.edu
X-Cache: MISS from berners-lee.cs.calvin.edu
X-Cache-Lookup: MISS from berners-lee.cs.calvin.edu:3128
Proxy-Connection: close

<META http-equiv=Content-Type content="text/html; charset=windows-1252"><!-- Meta Tags -->
<META content="W. David Laverell" name=author>
<!-- Text Styles --><LINK 
href="css1.css" type=text/css rel=stylesheet>
</HEAD>


</BODY></HTML>
Connection closed by foreign host.
stallman ~$ exit
exit

Script done on Tue 14 Jun 2005 10:23:28 AM EDT

I thank Mike Stinson of Central Michigan University for letting me know that number 2 is not as simple as it seems. From his description of the problem he was having and the fact that things were working just fine for me I first feared that it was a matter of access to the web server through telnet. I went over to Calvin Information Technology to see what the college firewall might be blocking. Brian Baas decided to try the experiment, and for the first time I saw what it looked like on a Windows machine. Exactly the behavior Mike had described. What happens is simply that the display refuses to show you anything including the characters you type. However, if you type the URL exactly right, you will get the page. Petar Konovski of Birkbeck, University of London has been kind enough to provide the following procedure that makes things a lot easier:

  1. telnet

  2. set localecho

  3. open labbook.cs.purdue.edu 80

  4. get "Connecting To cookie.update.uu.se..."

  5. Type "GET http://www.labbook.cs.purdue.edu HTTP/1.0" (notice where it appears on the screen) and hit the Enter key twice.

  6. Read the html file, and then type "Quit", and hit the Enter key.



This site is maintained by W. David Laverell of the Computer Science Department at Calvin College. For assistance or corrections, please contact him at lave@calvin.edu.