(PHP 4, PHP 5, PHP 7)
Open Internet or Unix domain socket connection
resource fsockopen ( string $hostname [, int $port = -1 [, int &$errno [, string &$errstr [, float $timeout = ini_get("default_socket_timeout") ]]]] )
Initiates a socket connection to the resource specified by hostname.
PHP supports targets in the Internet and Unix domains as described in List of Supported Socket Transports. A list of supported