[usocket-devel] Add (socket-option ... :tcp-no-delay) for stream-usocket?

Chun Tian (binghe) binghe.lisp at gmail.com
Thu Feb 14 09:15:13 UTC 2013


Hi Jan

Thanks for your suggestion, the feature for :tcp-no-delay will be added soon and easily. I think at least CLISP/SBCL/Allegro/Clozure/LispWorks will be supported first, rest platforms may need some more investigations.   The only thing I haven't decided, is to use :TCP-NO-DELAY or just :NO-DELAY for the option name, depend on related exist feature provided by CLISP.

Regards,

Chun Tian (binghe)

Il giorno 13/feb/2013, alle ore 22:35, Jan Moringen <jmoringe at techfak.uni-bielefeld.de> ha scritto:

> Hi,
> 
> I like the new socket-option functions and I think methods
> 
>        socket-option (stream-usocket (eql :tcp-no-delay))
>        (setf socket-option) (t stream-usocket (eql :tcp-no-delay))
> 
> should be added.
> 
> This addition would enable stream sockets obtained from socket-accept to
> operate with TCP_NODELAY. As far as I can see, this is currently not
> possible without unportable code like
> 
>        (setf (sb-bsd-sockets::sockopt-tcp-nodelay (usocket::socket s)) t)
> 
> What do you think?
> 
> Kind regards,
> Jan
> 
> 
> _______________________________________________
> usocket-devel mailing list
> usocket-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/usocket-devel





More information about the usocket-devel mailing list