VoiceMan
|
The TCP/IP socket. More...
Public Member Functions | |
InetSocket () | |
The default constructor. | |
void | open (int port) |
Creates new TCP/IP socket. | |
virtual | ~InetSocket () |
The destructor. |
This class is the interface to create server UTCP/IP socket. No client behavior is implemented. Only port number of socket is required to prepare object of this class.
void InetSocket::open | ( | int | port | ) |
This method creates new TCP/IP socket and prepares it for functioning. YOu should provide file name for new socket. This method does not return any exit code. All errors are reported with SystemException.
[in] | port | The port for new socket |