This is available as TCP\connect_nd_async
in the www repository.
Deprecated: Use connect_async() instead
namespace HH\Lib\TCP;
function connect_nd_async(
string $host,
int $port,
ConnectOptions $opts = dict [
],
): Awaitable<CloseableSocket>;
string $host
int $port
ConnectOptions $opts = dict [ ]