D Lang Socket Programming Example

Ramon spam at thanks.no
Fri Sep 6 14:57:28 PDT 2013


On Friday, 6 September 2013 at 21:50:11 UTC, Brian Schott wrote:
>>>   server.bind(new InternetAddress(8080));
>>
>> Not quite the same - the original used a Unix domain socket. I 
>> *think* if you replace that line with a UnixAddress:
>>
>> http://dlang.org/phobos/std_socket.html#UnixAddress
>>
> http://d.puremagic.com/issues/show_bug.cgi?id=9384
>
> It won't work. (This is why my project uses IP sockets for 
> local communication, even on Linux)

Meaning that domain/Unix sockets aren't available at all in D (or 
need to be done through C calls directly)?



More information about the Digitalmars-d mailing list