Cheetah
|
Public Member Functions | |
__construct () | |
send ($host, $port, $request, $responseLength=1160) | |
getResponse () | |
getErrorNumner () | |
getErrorString () | |
Definition at line 339 of file Akismet.class.php.
SocketWriteRead::__construct | ( | ) |
Definition at line 344 of file Akismet.class.php.
SocketWriteRead::getErrorNumner | ( | ) |
Returns the error number
If there was no error, 0 will be returned.
Definition at line 397 of file Akismet.class.php.
SocketWriteRead::getErrorString | ( | ) |
Returns the error string
If there was no error, an empty string will be returned.
Definition at line 408 of file Akismet.class.php.
SocketWriteRead::getResponse | ( | ) |
SocketWriteRead::send | ( | $host, | |
$port, | |||
$request, | |||
$responseLength = 1160 |
|||
) |
Sends the data to the remote host.
string | $host | The host to send/receive data. |
int | $port | The port on the remote host. |
string | $request | The data to send. |
int | $responseLength | The amount of data to read. Defaults to 1160 bytes. |
An | exception is thrown if a connection cannot be made to the remote host. |
Implements AkismetRequestSender.
Definition at line 359 of file Akismet.class.php.