Base | --ClientSocket
Located in File: Program_Root/sdk/socket/ClientSocket.php
Provides a simple Socket object sending messages to sockets and read the response.
Magnus Rosenquist, Zyneo
Class Variable Summary |
$__host
Host to connect to Default Value:
|
$__port
Port to connect to Default Value:
|
Inherited Class Variable Summary | |||||||||||||||||||||
Inherited From Class Base
|
Method Summary |
void constructor ClientSocket ( $host, $port )
Creates a new ClientSocket for use with specified host and port |
string send ( $message )
Sends a message to the desired host/port and reads the response from the socket and returns this to the calling app. |
Inherited Method Summary |
Inherited From Class Base
|
Method Detail |
void ClientSocket( string $host, int $port)
Creates a new ClientSocket for use with specified host and port- string $host:
- int $port:
[ Top ]
string send( string $message)
Sends a message to the desired host/port and reads the response from the socket and returns this to the calling app.- string $message: the message to send.
response from socket.
[ Top ]
Variable Detail |
[ Top ]
[ Top ]