Flowdock
method

pfamily

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Addrinfo
pfamily() public

returns the protocol family as an integer.

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