Flowdock
method

int

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: Option
int() public

Returns the data in sockopt as an int.

The size and endian is dependent on the platform.

sockopt = Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1)
p sockopt.int => 1
Show source
Register or log in to add new notes.