[plt-scheme] A problem about TCP program
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!