instance method Addrinfo#protocol
protocol -> Integer-
ソケットプロトコルを整数で返します。
Addrinfo.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true
class Addrinfo
protocol -> Integerソケットプロトコルを整数で返します。
Addrinfo.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true