Class tcpconnection

Description
Variable Summary
string $host
int $port
bool $ssl
Method Summary
tcpconnection __construct (string $host, int $port, [bool $ssl = false])
bool connect ()
bool connected ()
void disconnect ()
mixed read ()
bool settimeout (int $sec, [int $msec = 0])
bool write (string $data)
Variables
string $host (line 27)
  • access: protected
int $port (line 32)
  • access: protected
bool $ssl (line 37)
  • access: protected
Methods
Constructor __construct (line 45)
  • access: public
tcpconnection __construct (string $host, int $port, [bool $ssl = false])
  • string $host
  • int $port
  • bool $ssl
connect (line 56)
  • access: public
bool connect ()
connected (line 88)
  • access: public
bool connected ()
disconnect (line 76)
  • access: public
void disconnect ()
read (line 112)
  • access: public
mixed read ()
settimeout (line 99)
  • access: public
bool settimeout (int $sec, [int $msec = 0])
  • int $sec
  • int $msec
write (line 131)
  • access: public
bool write (string $data)
  • string $data

Documentation generated on Sat, 07 Jun 2008 16:34:57 +0800 by phpDocumentor 1.4.1