VoiceMan
Public Member Functions
InetSocket Class Reference

The TCP/IP socket. More...

Inheritance diagram for InetSocket:
Socket

List of all members.

Public Member Functions

 InetSocket ()
 The default constructor.
void open (int port)
 Creates new TCP/IP socket.
virtual ~InetSocket ()
 The destructor.

Detailed Description

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.


Member Function Documentation

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.

Parameters:
[in]portThe port for new socket
See also:
SystemException