Subject: Re: sbcl networking
From: rpw3@rpw3.org (Rob Warnock)
Date: Sat, 21 Jan 2006 07:47:24 -0600
Newsgroups: comp.lang.lisp
Message-ID: <5o6dnefvrbXxpk_enZ2dnUVZ_tWdnZ2d@speakeasy.net>
Karol Skocik <Karol.Skocik@gmail.com> wrote:
+---------------
| Thanks for clarification. But does it matter when server is
| in Lisp and client is Java applet? 
+---------------

No, the programming language really isn't an issue at all
[unless, of course, the language makes it hard to do a
"shutdown()" or equivalent]. The situation can arise with
*any* TCP-based protocol in which one end wants to "read
until EOF" before writing the last data it's going to send
before closing the socket. [Normally it's the client that
needs to send a uni-directional "shutdown()", but I've seen
occasional oddball situations where the reverse was true.]

My first experience with the issue was with both the client
and server being C programs, but I ran into it again later
with a C client and a Lisp server, and then yet again with
a Lisp client and a C server (Apache).


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607