accept abstract method

Future<void> accept({
  1. bool? connect,
  2. bool? allowIPv6,
})

Accept connection.

TCP: If connect is true this function will open connection to requested host.

Mustn't throw any errors.

Implementation

Future<void> accept({
  bool? connect,
  bool? allowIPv6,
});