On Thursday, 24 January 2013 at 06:47:41 UTC, Rob T wrote:
I'm using Linux, which supports unix domain sockets, but when I try to use UnixAddress it's not available.

Anyone know why?

import std.socket;

int main()
{
Address UnixAddr = new UnixAddress( "path" ); // <- compile error
    return(0);
}

Error: undefined identifier UnixAddress

--rt

Looks like socket.d is missing this:

import core.sys.posix.sys.un;

I need this working asap, what's the best way to patch? Just add in the import?

--rt

Reply via email to