setRawOption method

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

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

Throws an OSError on failure.

Implementation

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