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