[usocket-devel] How to portably setsockopt
Chun Tian (binghe)
binghe.lisp at gmail.com
Tue Jul 20 05:40:34 UTC 2010
Hi, Elliott
Thanks for your suggestion.
I'll investigate this, and hope a new SOCKET-BROADCAST and (SETF SOCKET-BROADCAST) pair can be added to every supported platform.
--binghe
在 2010-3-22,08:15, Elliott Slaughter 写道:
> Hi,
>
> I need to set SO_BROADCAST in order to enable sending packets to a broadcast address in my application. In SBCL, for example, this can be accomplished with
>
> (setf (sb-bsd-sockets:sockopt-broadcast (usocket::socket *socket*)) t)
>
> I am wondering if usocket provides any way of accomplishing this, and if this is considered inside the scope of usocket.
>
> Thanks.
>
> --
> Elliott Slaughter
>
> "Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay
> _______________________________________________
> usocket-devel mailing list
> usocket-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/usocket-devel
More information about the usocket-devel
mailing list