Socket::AncillaryData.int(family, cmsg_level, cmsg_type, integer) => ancillarydata
Class Public methods
Creates a new Socket::AncillaryData object which contains a int as data.
The size and endian is dependent on the host.
p Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno) #=> #<Socket::AncillaryData: UNIX SOCKET RIGHTS 2>
Please login to continue.