setRawOption method Null safety

  1. @Since("2.2")
void setRawOption (
  1. RawSocketOption option
)
@Since("2.2")

Customizes the RawSocket.

See RawSocketOption for available options.

Throws an OSError on failure.

Implementation

@Since("2.2")
void setRawOption(RawSocketOption option);