startConnect static method
Like connect, but returns a Future that completes with a ConnectionTask that can be cancelled if the RawSocket is no longer needed.
Implementation
external static Future<ConnectionTask<RawSocket>> startConnect(
host,
int port, {
sourceAddress,
int sourcePort = 0,
});