Posted By:
Tim_Rohaly
Posted On:
Tuesday, June 12, 2001 12:59 PM
Without seeing your code I can only guess, but it
is likely that you are writing your data using
println(), which appends a
platform-specificline terminator. On the Macintosh, this is
, while on
Windows this is
. Your ASP script is probably
trying to read a line terminator and is expecting
, but only seeing
, so it hangs waiting for the
.
This is one example of why you should never
use println() when writing data across the network.
Any real network protocol specifies termination characters
completely. In the case of HTTP, you must use
as a terminator everywhere except the body (the body
is bulk data, perhaps binary, which the HTTP protocol
doesn't control).