|
pfsockopenOpen persistent Internet or Unix domain socket connection Description
resourcefalse pfsockopen(
string $hostname ,int $port = -1,int &$error_code = null ,string &$error_message = null ,floatnull $timeout = null ) This function behaves exactly as fsockopen with the difference that the connection is not closed after the script finishes. It is the persistent version of fsockopen. ParametersFor parameter information, see the fsockopen documentation. Return Values
pfsockopen returns a file pointer which may be used
together with the other file functions (such as
fgets, fgetss,
fwrite, fclose, and
feof), or Changelog
See Also
|