bool 2

sockopt.bool => true or false
Instance Public methods

Returns the data in sockopt as an boolean value.

1
2
sockopt = Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1)
p sockopt.bool => true
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.