Flowdock
method

protocol

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Addrinfo
protocol() public

returns the socket type as an integer.

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