| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |
TSocketBase
TSocketBase are used as client sockets
to connect to remote servers. After the connection is
established the methods getInput and
getOutput
can be used to retrieve the streams associated with the socket.
|
|
TSocketBase close
Closes the socket.
TSocketBase connect host port
Connects the socket to a remote server.
TSocketBase getInput
Fetches the input stream associated with the socket.
TInput instance.
TInput
stream that is returned will be closed and can not be used. As soon
as the socket is successfully opened the TInput will
also be automatically opened and associated with the socket input
stream.
TSocketBase getOutput
Fetches the output stream associated with the socket.
TOutput instance.
TOutput
stream that is returned will be closed and can not be used. As soon
as the socket is successfully opened the TOutput will
also be automatically opened and associated with the socket output
stream.
| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |