Asynchronously returns a ConnectionTask that connects to the given host and port when successful.
When this override is installed, this functions overrides the behavior of Socket.startConnect(...)
.
Future<ConnectionTask<Socket>> socketStartConnect(host, int port, {sourceAddress}) { return Socket._startConnect(host, port, sourceAddress: sourceAddress); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/IOOverrides/socketStartConnect.html