[Ecls-list] [usocket-devel] ECL problem

Matthew Mondor mm_lists at pulsar-zone.net
Sat Oct 17 03:06:18 UTC 2009


On Sat, 17 Oct 2009 03:24:08 +0800
Chun Tian <binghe.lisp at gmail.com> wrote:

> One of our usocket user found a strange issue of ECL (9.10.2)'s  
> network function SB-BSD-SOCKETS:SOCKOPT-TCP-NODELAY:
> 
>  > (describe 'sb-bsd-sockets::sockopt-tcp-nodelay)

Unless I'm mistaken, one problem which I can immediately see is that
getsockopt(2)/setsockopt(2) calls always use SOL_SOCKET, when the
TCP_NODELAY option is TCP protocol specific and must instead use 6 (or
what a previous/initialization call to getprotobyname(3) returns for
"TCP")...
-- 
Matt




More information about the ecl-devel mailing list