method

type

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: AncillaryData
type() public

returns the cmsg type as an integer.

p Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "").type
#=> 2
Show source
Register or log in to add new notes.