[plt-scheme] Re: tiny server -- recommendations?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 26 14:50:19 EST 2005

At Wed, 26 Jan 2005 14:26:36 -0500, Ben Simon wrote:
> I just did. No change :-(. Still hangs.

I'm not sure, but you may need to flush the input port by reading all
of the available data. Otherwise, the other end isn't ready to receive,
and the write blocks.

(I hit something like this every time I try to make a toy web server,
but I always forget the details.)

Matthew



Posted on the users mailing list.