instance method Addrinfo#pfamily
pfamily -> Integer
-
プロトコルファミリーを整数で返します。
Addrinfo.tcp("localhost", 80).pfamily == Socket::PF_INET #=> true
class Addrinfo
pfamily -> Integer
プロトコルファミリーを整数で返します。
Addrinfo.tcp("localhost", 80).pfamily == Socket::PF_INET #=> true