Class SimpleSecureSocket

Description

Wrapper for TCP/IP socket over TLS.

Located in /socket.php (line 286)

SimpleStickyError
   |
   --SimpleSocket
      |
      --SimpleSecureSocket
Method Summary
 SimpleSecureSocket __construct (string $host, integer $port, integer $timeout)
 void openSocket (string $host, integer $port,  &$error_number,  &$error, integer $timeout, integer $error_number, string $error)
Methods
Constructor __construct (line 295)

Opens a secure socket for reading and writing.

  • access: public
SimpleSecureSocket __construct (string $host, integer $port, integer $timeout)
  • string $host: Hostname to send request to.
  • integer $port: Port on remote machine to open.
  • integer $timeout: Connection timeout in seconds.

Redefinition of:
SimpleSocket::__construct()
Opens a socket for reading and writing.
openSocket (line 308)

Actually opens the low level socket.

  • access: protected
void openSocket (string $host, integer $port,  &$error_number,  &$error, integer $timeout, integer $error_number, string $error)
  • string $host: Host to connect to.
  • integer $port: Port on host.
  • integer $error_number: Recipient of error code.
  • string $error: Recipient of error message.
  • integer $timeout: Maximum time to wait for connection.
  • &$error_number
  • &$error

Redefinition of:
SimpleSocket::openSocket()
Actually opens the low level socket.

Inherited Methods

Inherited From SimpleSocket

 SimpleSocket::__construct()
 SimpleSocket::close()
 SimpleSocket::getSent()
 SimpleSocket::isOpen()
 SimpleSocket::openSocket()
 SimpleSocket::read()
 SimpleSocket::write()

Inherited From SimpleStickyError

 SimpleStickyError::__construct()
 SimpleStickyError::clearError()
 SimpleStickyError::getError()
 SimpleStickyError::isError()
 SimpleStickyError::setError()

Documentation generated on Sun, 31 Oct 2010 16:32:27 -0500 by phpDocumentor 1.4.3