Il giorno giovedì 6 ottobre 2016 18:40:42 UTC+2, Ian Lance Taylor ha 
scritto:
>
> On Thu, Oct 6, 2016 at 8:28 AM, Manlio Perillo <manlio....@gmail.com 
> <javascript:>> wrote: 
> > Il giorno giovedì 6 ottobre 2016 03:13:32 UTC+2, Dave Cheney ha scritto: 
> >> 
> >> Stick an @ at the start of the file name, or the socket will remain on 
> >> disk after the process has exited. 
> > 
> > 
> > According to http://man7.org/linux/man-pages/man7/unix.7.html, on Linux 
> an 
> > abstract socket address is specified by setting the first character to 
> \0. 
> > Is the use of @ supported by the Go stdlib or by the Linux kernel? 
>
> It's supported by the Go standard library, but it's a standard 
> convention.  For example, it's how abstract sockets are displayed by 
> netstat. 
>
>
However you can not create an abstract socket if the first character is @ 
instead of \0.
This only works with Go.  It does not work with Python, as an example.

IMHO, this should be documented.


Manlio 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to