HH\Lib\TCP\connect_nd_async

Meta Engineer?

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>;

Parameters

  • string $host
  • int $port
  • ConnectOptions $opts = dict [ ]

Returns