setOption method - RawSocket class - dart:io library (original) (raw)

description

setOption abstract method

bool setOption(

  1. SocketOption option,
  2. bool enabled )

Customize the RawSocket.

See SocketOption for available options.

Returns true if the option was set successfully, false otherwise.

Implementation

bool setOption(SocketOption option, bool enabled);