Flowdock
method

unpack_sockaddr_un

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Socket
unpack_sockaddr_un(p1) public

Unpacks sockaddr into path.

sockaddr should be a string or an addrinfo for AF_UNIX.

sockaddr = Socket.sockaddr_un("/tmp/sock")
p Socket.unpack_sockaddr_un(sockaddr) #=> "/tmp/sock"
Show source
Register or log in to add new notes.