Flowdock
method

socktype

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Addrinfo
socktype() public

returns the socket type as an integer.

Addrinfo.tcp("localhost", 80).socktype == Socket::SOCK_STREAM #=> true
Show source
Register or log in to add new notes.