RawSocketOption constructor
Creates a RawSocketOption for RawSocket.getRawOption and RawSocket.setRawOption.
The level and option arguments correspond to level
and optname
arguments
on the getsockopt()
and setsockopt()
native calls.
The value argument and its length correspond to the optval and length arguments on the native call.
For a RawSocket.getRawOption call, the value parameter will be updated after a successful call (although its length will not be changed).
For a RawSocket.setRawOption call, the value parameter will be used set the option.
Implementation
const RawSocketOption(this.level, this.option, this.value);