HH\Lib\OS\socket

Facebook Engineer?

This function is available as OS\socket() in Facebook's www repository.

namespace HH\Lib\OS;

function socket(
  SocketDomain $domain,
  SocketType $type,
  int $protocol,
): FileDescriptor;

Parameters

  • SocketDomain $domain
  • SocketType $type
  • int $protocol

Returns