setRawOption abstract method Null safety
- RawSocketOption option
Customizes the RawSocket.
See RawSocketOption for available options.
Throws an OSError on failure and a SocketException if the socket has been destroyed or upgraded to a secure socket.
Implementation
void setRawOption(RawSocketOption option);