Missing things in Phobos

Daniel Gibson metalcaedes at gmail.com
Thu Oct 20 14:44:24 PDT 2011


Am 20.10.2011 11:37, schrieb Steve Teale:
> 2) We don't have an off-the-shelf Socket class for Unix Sockets

It shouldn't be too hard to add AF_UNIX support to std.socket.
(Derive something suitable from std.socket.Address and possibly 
std.socket.Socket)
In fact, I have some old untested code lying around that adds such an 
Address type: http://pastebin.com/gMxd4AqB

It's from D1 though and /may/ need minor changes to work with the 
current std.socket. (Also it may be buggy, as it's untested)

(IPv6 support is also missing from std.socket btw)

>
> Steve

Cheers,
- Daniel


More information about the Digitalmars-d mailing list