dart / 2 / dart-io / socket / setrawoption.html

setRawOption method

void setRawOption(
  1. RawSocketOption option
)

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

void setRawOption(RawSocketOption option);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/Socket/setRawOption.html