addrinfo.protocol => integer
Instance Public methods
returns the socket type as an integer.
1 | Addrinfo.tcp( "localhost" , 80 ).protocol == Socket:: IPPROTO_TCP #=> true |
returns the socket type as an integer.
1 | Addrinfo.tcp( "localhost" , 80 ).protocol == Socket:: IPPROTO_TCP #=> true |
Designed by : w10schools
service@w10schools.com
Please login to continue.