[plt-scheme] A problem about TCP program

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Jan 11 01:46:40 EST 2010

On Mon, Jan 11, 2010 at 1:32 AM, Plato Wu <gtalk000 at gmail.com> wrote:

> It will hang in (read server->me), but if I replace flush-output with
> close-output-port, it pass. I don't understand it, :(.

Well, it is waiting for input from the server. When you close the
output port it terminates the connection, so read reads an end of


Posted on the users mailing list.