Facebook Engineer?

This function is available as Network\Socket() in Facebook's www repository.

A handle representing a connection between processes

It is possible for both ends to be connected to the same process, and to either be local or across a network.

Interface Synopsis

namespace HH\Lib\Network;

interface Socket implements \HH\Lib\IO\ReadWriteHandle {...}

Public Methods