protocol -> Integer[permalink][rdoc][edit]-
ソケットプロトコルを整数で返します。
require 'socket' Addrinfo.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true
protocol -> Integer[permalink][rdoc][edit]ソケットプロトコルを整数で返します。
require 'socket'
Addrinfo.tcp("localhost", 80).protocol == Socket::IPPROTO_TCP #=> true