Socket::Option.new(family, level, optname, data) => sockopt
Class Public methods
Returns a new Socket::Option object.
sockopt = Socket::Option.new(:INET, :SOCKET, :KEEPALIVE, [1].pack("i")) p sockopt #=> #<Socket::Option: INET SOCKET KEEPALIVE 1>
Please login to continue.