Abstract sockets (linux)

freeman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 25 09:14:52 PDT 2015


On Thursday, 25 June 2015 at 16:07:51 UTC, Steven Schveighoffer 
wrote:
> I believe there was a recently fixed bug regarding unix 
> sockets. The upcoming 2.068 may help, have you tried the beta?
>
> http://downloads.dlang.org/pre-releases/2.x/2.068.0/
>
> -Steve

Unfortunately the problem persists (I was using ldc2 before):

$ ./test
std.socket.SocketOSException at std/socket.d(2808): Unable to 
connect socket: Connection refused
----------------
./test(_Dmain+0xce) [0x443b42]
./test(_D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv+0x1f) [0x44ad7b]
./test(void rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).tryExec(scope void delegate())+0x2a) 
[0x44acd6]
./test(void rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).runAll()+0x2b) [0x44ad37]
./test(void rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).tryExec(scope void delegate())+0x2a) 
[0x44acd6]
./test(_d_run_main+0x1d2) [0x44ac56]
./test(main+0x12) [0x447e96]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f1bff50cd5d]




More information about the Digitalmars-d-learn mailing list