HH\Lib\OS\connect

Meta Engineer?

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

Start a socket connection

namespace HH\Lib\OS;

function connect(
  FileDescriptor $fd,
  sockaddr $sa,
): void;

See man 2 connect for details.

Parameters

  • FileDescriptor $fd
  • sockaddr $sa

Returns

  • void