Formatting output Plese Wait...

zSocketClient Class Reference
[Socket Operations]

SocketClient Class. More...

Inheritance diagram for zSocketClient:

Inheritance graph
[legend]
Collaboration diagram for zSocketClient:

Collaboration graph
[legend]

Public Member Functions

 zSocketClient ($host=null, $port=null, $timeout=null)
 __construct ($host=null, $port=null, $timeout=null)
 setHost ($hostName)
 Sets the Host Name.
 getHost ()
 Get the Host Name.
 setPort ($port)
 set the Connection Port
 getPort ()
 Get the Conection Port.
 setTimeOut ($timeOut)
 Set the Connection Timeout.
 getTimeOut ()
 Returns the Timeout.
 setSeparator ($sep)
 Set the separatotor
or
.
 useUDP ($flag=true)
 Sets Wheather to use UDP Connection or not.
 isUDP ()
 Returns Wheather teh Connection is UDP or not.
 useTCP ($flag=true)
 Wheather to use TCP or not.
 isTCP ()
 Returns boolean vlue wheather or not The Connection is TCP.
 useSSL ($flag=true)
 Use SSL in the Connection.
 isSSL ()
 Returns Boolean value wheather the Connection is a SSL Connection.
 useTLS ($flag=true)
 Use TLS Connection.
 isTLS ()
 Checks wheather or not it is a TLS Connection.
 connect ()
 Connect the Socket with the Server.
 isConnected ()
 Returns Boolean value wheather socket is Connected or not.
 isConnectable ()
 Checks Wheathers its Connectable or not.
 send ($data)
 Send the Data to the Server.
 receive ($maxLen=0)
 Reacieve Data from the server.
 disconnect ()
 Disconnect from the Server.
 __destruct ()
 Automatically Disconnect upon destruct.

Data Fields

 $host
 $port
 $timeout
 $sep
 $connected
 $map
 $protocol
 $handle
 $cnv
 $conversation

Detailed Description

SocketClient Class.

all kinds of sockets can inherits from this Class. it provides abstraction all native socket level operations

Definition at line 30 of file socket.php.


Constructor & Destructor Documentation

zSocketClient::__construct( unknown $host = null, unknown $port = null, unknown $timeout = null )

zSocketClient::__destruct( ) 


Member Function Documentation

zSocketClient::zSocketClient( unknown $host = null, unknown $port = null, unknown $timeout = null )

zSocketClient::setHost( string $hostName ) 

zSocketClient::getHost( ) 

zSocketClient::setPort( int $port ) 

zSocketClient::getPort( ) 

zSocketClient::setTimeOut( int $timeOut ) 

zSocketClient::getTimeOut( ) 

zSocketClient::setSeparator( string $sep ) 

zSocketClient::useUDP( boolean $flag = true ) 

zSocketClient::isUDP( ) 

zSocketClient::useTCP( booleans $flag = true ) 

zSocketClient::isTCP( ) 

zSocketClient::useSSL( booleans $flag = true ) 

zSocketClient::isSSL( ) 

zSocketClient::useTLS( unknown_type $flag = true ) 

zSocketClient::isTLS( ) 

zSocketClient::connect( ) 

zSocketClient::isConnected( ) 

zSocketClient::isConnectable( ) 

zSocketClient::send( string $data ) 

zSocketClient::receive( int $maxLen = 0 ) 

zSocketClient::disconnect( ) 


Field Documentation

zSocketClient::$host

zSocketClient::$port

zSocketClient::$timeout

zSocketClient::$sep

zSocketClient::$connected

zSocketClient::$map

zSocketClient::$protocol

zSocketClient::$handle

zSocketClient::$cnv

zSocketClient::$conversation


The documentation for this class was generated from the following file:

Generated on Mon Oct 27 23:54:32 2008 for zigmoyd.kdevelop by doxygen 1.5.6
CompoundsX
Build Compounds List