HH\Lib\TCP\Server::createAsync

Meta Engineer?

The containing class is available as TCP\Server in the www repository.

Create a bound and listening instance

public static function createAsync(
  HH\Lib\Network\IPProtocolVersion $ipv,
  string $host,
  int $port,
  HH\Lib\TCP\ServerOptions $opts = dict [
],
): Awaitable<this>;

Parameters

  • HH\Lib\Network\IPProtocolVersion $ipv
  • string $host
  • int $port
  • HH\Lib\TCP\ServerOptions $opts = dict [ ]

Returns