Moodle  2.2.1
http://www.collinsharper.com
SimpleSecureSocket Class Reference
Inheritance diagram for SimpleSecureSocket:
Collaboration diagram for SimpleSecureSocket:

Public Member Functions

 SimpleSecureSocket ($host, $port, $timeout)
 _openSocket ($host, $port, &$error_number, &$error, $timeout)

Detailed Description

Definition at line 190 of file socket.php.


Member Function Documentation

_openSocket ( host,
port,
&$  error_number,
&$  error,
timeout 
)

Actually opens the low level socket.

Parameters:
string$hostHost to connect to.
integer$portPort on host.
integer$error_numberRecipient of error code.
string$errorRecipient of error message.
integer$timeoutMaximum time to wait for connection. protected

Reimplemented from SimpleSocket.

Definition at line 212 of file socket.php.

SimpleSecureSocket ( host,
port,
timeout 
)

Opens a secure socket for reading and writing.

Parameters:
string$hostHostname to send request to.
integer$portPort on remote machine to open.
integer$timeoutConnection timeout in seconds. public

Definition at line 199 of file socket.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations