[plt-scheme] closing tcp port needed to read ??

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Aug 1 10:10:32 EDT 2003

At Thu, 31 Jul 2003 23:30:54 -0700, briand at aracnet.com wrote:
> If I remove the 
> 
>        (close-output-port me->server)
> 
> which occurs after the (write 'ping ...) in client, then the client
> can't read the from the server !

Display a space after writing 'ping.

Otherwise, the read end can't tell that the write end is done with
'ping, as opposed to being half-way through 'ping-now, or something
else.

Matthew



Posted on the users mailing list.