HH\Lib\OS\listen

Meta Engineer?

This is available as OS\listen in the www repository.

Listen for new connections to a socket

namespace HH\Lib\OS;

function listen(
  FileDescriptor $fd,
  int $backlog,
): void;

See man 2 listen for details.

Parameters

  • FileDescriptor $fd
  • int $backlog

Returns

  • void