HH\Lib\OS\socket

namespace HH\Lib\OS;

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

Parameters

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

Returns