[Nickle] [RFC] Socket::create: Add support for Unix domain sockets

Bart Massey bart at po8.org
Fri Feb 1 19:22:25 PST 2008


Yeah, just make this patch be for _create and do all the
varargs magic in Nickle.  Thanks for the patch!

	Bart

In message <87zluktavc.wl%cworth at cworth.org> you wrote:
>  This fills an obvious hole in the implementation. The biggest
>  potential concern here is that this breaks all existing socket-using
>  nickle programs, (since create now accepts two arguments instead of
>  one).
> 
>  So we probably don't even want to apply this in its current state.
> 
>  Keith's idea for an improved patch is one that would provide a
>  varargs create with enums for family and type so that one could pass
>  them in either order, or omit the family to have it default to
>  AF_INET. That could potentially avoid breaking the interface for
>  existing programs.
> 
>  Also, it would be nice to add a test or two to the test suite for the
>  socket interface.


More information about the Nickle mailing list