sockopt.int => integer
Instance Public methods
Returns the data in sockopt as an int.
The size and endian is dependent on the platform.
1 2 | sockopt = Socket::Option.int(: INET , : SOCKET , : KEEPALIVE , 1 ) p sockopt.int => 1 |
Returns the data in sockopt as an int.
The size and endian is dependent on the platform.
1 2 | sockopt = Socket::Option.int(: INET , : SOCKET , : KEEPALIVE , 1 ) p sockopt.int => 1 |
Designed by : w10schools
service@w10schools.com
Please login to continue.