HH\Lib\Experimental\TCP\Server::createAsync

Create a bound and listening instance

public static function createAsync(
  HH\Lib\Experimental\Network\IPProtocolVersion $ipv,
  string $host,
  int $port,
): Awaitable<this>;

Parameters

  • HH\Lib\Experimental\Network\IPProtocolVersion $ipv
  • string $host
  • int $port

Returns