Socket

Convenience wrapper around native socket and file functions to allow for mocking.
Methods Summary
public
# fsockopen( string $hostname , int $port = -1, int & $errno = 0, string & $errstr = '', float $timeout = NULL )
public
# fwrite( string $string , int $length = NULL )
public
# fgets( int $length = NULL )
public
public