Flowdock
method

data

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Option

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

These similar methods exist in v2_5_5:

data() public

returns the socket option data as a string.

p Socket::Option.new(:INET6, :IPV6, :RECVPKTINFO, [1].pack("i!")).data
#=> "\x01\x00\x00\x00"
Show source
Register or log in to add new notes.