HH\Lib\OS\listen
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as OS\listen()
in Facebook's 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