Inheritance diagram for fsocket:
Public Member Functions | |
fsocket () | |
Class Constructor. | |
_fsocket () | |
Class Destructor. | |
fsocket_close () | |
Close fsocket connection. | |
fsocket_connect ($host, $port, $timeout=20, $durable=false) | |
Connect to server. | |
fsocket_flush_errors () | |
Will flush the error list. | |
fsocket_flush_stream () | |
Will flush the socket stream. | |
fsocket_get_errorlist () | |
Returns error list. After the call the function delete the error list. | |
fsocket_get_handle () | |
Returns actual socket handle. | |
fsocket_get_host () | |
Returns host name. | |
fsocket_get_port () | |
Returns actual port number. | |
fsocket_get_socketdata ($endsign="LINE", $linelenght=65535) | |
Returns complete socket data array. | |
fsocket_get_status () | |
Returns Fsocket status. | |
fsocket_get_stream () | |
Returns Fsocket stream. After the call the function delete the stream. | |
fsocket_get_timeout () | |
Returns timeout time. | |
fsocket_send_socketdata ($data) | |
Sends data to socket connection. | |
fsocket_set_blocking_mode ($state=true) | |
Sets the blocking mode. | |
fsocket_set_timeout ($timeout) | |
Change the timeout. | |
Public Attributes | |
$fsocket_blocking_mode = true | |
$fsocket_durable = false | |
$fsocket_error_hdl = 0 | |
$fsocket_handle = false | |
$fsocket_host | |
$fsocket_port | |
$fsocket_stream_hdl = 0 | |
$fsocket_timeout = 10 |
|
Class Constructor.
|
|
Class Destructor.
|
|
Close fsocket connection.
|
|
Connect to server.
|
|
Will flush the error list.
|
|
Will flush the socket stream.
|
|
Returns error list. After the call the function delete the error list.
|
|
Returns actual socket handle.
|
|
Returns host name.
|
|
Returns actual port number.
|
|
Returns complete socket data array.
|
|
Returns Fsocket status.
|
|
Returns Fsocket stream. After the call the function delete the stream.
|
|
Returns timeout time.
|
|
Sends data to socket connection.
|
|
Sets the blocking mode.
|
|
Change the timeout.
|
|
Blocking mode |
|
State of connection type (fsockopen or pfsockopen). |
|
Error message handler |
|
Socket handle |
|
Host name or IP |
|
Port number |
|
Socket stream array |
|
Connection timeout |