|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| SimpleSecureSocket ($host, $port, $timeout) | |
| _openSocket ($host, $port, &$error_number, &$error, $timeout) | |
Definition at line 190 of file socket.php.
| _openSocket | ( | $ | host, |
| $ | port, | ||
| &$ | error_number, | ||
| &$ | error, | ||
| $ | timeout | ||
| ) |
Actually opens the low level socket.
| string | $host | Host to connect to. |
| integer | $port | Port on host. |
| integer | $error_number | Recipient of error code. |
| string | $error | Recipient of error message. |
| integer | $timeout | Maximum 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.
| string | $host | Hostname to send request to. |
| integer | $port | Port on remote machine to open. |
| integer | $timeout | Connection timeout in seconds. public |
Definition at line 199 of file socket.php.
