The project that I'm working on is actually much larger and more
complex, but I've thrown together this class that illustrates my
problem. I'm basically starting a socket server on port 80 and then
connecting with a web browser. The strange thing is that the connection
never terminates and I
RFC 2616. Good luck on your
homework.
Jeremy
-Original Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 9:04 AM
To: Tomcat Users List
Subject: Socket GURU'S PLEASE HELP ON OBSCURE PROBLEM
The project that I'm working on is actually much
, December 02, 2002 9:04 AM
To: Tomcat Users List
Subject: Socket GURU'S PLEASE HELP ON OBSCURE PROBLEM
The project that I'm working on is actually much larger and more
complex, but I've thrown together this class that illustrates my
problem. I'm basically starting a socket server on port 80
Message-
From: Jason Johnston [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 12:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Socket GURU'S PLEASE HELP ON OBSCURE PROBLEM
Thanks Jeremy.
You're right in that I'm not correctly implementing HTTP, but I'm not
sure that's my problem
Thanks again Jeremy! I was coming to that conclusion. I changed the
condition to
while(instream.available()0) and then added an instream.read() and it
seems to be working. It turns out there's a lot more info on this
problem in the forums than I realized. Thanks for you help.
On a