Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC

Class TSslSocket

TSslSocket -> TSocket

Instances of TSslSocket are used as client SSL sockets. TInput and TOutput. That means that a TSslSocket can be used wherever a TInput or TOutput are used.

Since: 3.1.2

Method Summary
constructor
constructor host port
         Initializes the socket by connecting to a remote server.

Method Detail

constructor

TSslSocket constructor
TSslSocket constructor host port

Initializes the socket by connecting to a remote server.

Parameters:
host - A string representing the name of the remote server to connect to.
port - An integer representing the port number on the remote server to connect to.

If called with no arguments the socket will not be connected. The TSocket open method must then be called to establish the connection with a remote server.

If the connection can not be successfully established then a runtime error will occur.



Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC
Report a bug or request new features
© 2009