sockopt.bool => true or false
Instance Public methods
Returns the data in sockopt as an boolean value.
sockopt = Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1) p sockopt.bool => true
Returns the data in sockopt as an boolean value.
sockopt = Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1) p sockopt.bool => true
Please login to continue.