|
| | send ($host, $port, $request, $responseLength=1160) |
| |
Definition at line 444 of file Akismet.class.php.
◆ send()
| AkismetRequestSender::send |
( |
|
$host, |
|
|
|
$port, |
|
|
|
$request, |
|
|
|
$responseLength = 1160 |
|
) |
| |
Sends the data to the remote host.
- Parameters
-
| 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. |
- Exceptions
-
| An | exception is thrown if a connection cannot be made to the remote host. |
- Returns
- The server response
Implemented in SocketWriteRead.
The documentation for this interface was generated from the following file: