setRawOption method

  1. @override
void setRawOption(
  1. RawSocketOption option
)
inherited

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

@override
void setRawOption(RawSocketOption option) => socket.setRawOption(option);