setRawOption method
Use setRawOption to customize 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);