[plt-scheme] A problem about TCP program

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Jan 11 14:31:43 EST 2010

On Jan 11, Thomas Chust wrote:
> 2010/1/11 Eli Barzilay <eli at barzilay.org>:
> >
> > This might be irrelevant now, but flushing is something that
> > should be done because there might be a buffering layer...
> > [...]
> *if* there is an API to flush buffers, you are quite right. But when
> dealing with raw socket descriptors there are neither buffers nor
> library calls to flush them, except perhaps for some completely
> unportable system call instructing the kernel to flush internal
> network protocol buffers.

Well, I was assuming that all of this is in the context of mzscheme,
where even if you use your own low-level code to create a port,
flushing is still part of the API.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.