setRawOption method Null safety

void setRawOption (
  1. RawSocketOption option
)

Use setRawOption to customize the RawSocket. See RawSocketOption for available options.

Throws an OSError on failure.

Implementation

void setRawOption(RawSocketOption option);