VoiceMan
|
The UNIX domain socket. More...
Public Member Functions | |
void | open (const std::string &name) |
Creates new UNIX domain socket. | |
UnixSocket () | |
The default constructor. | |
virtual | ~UnixSocket () |
The destructor. |
This class is the interface to create server UNIX domain socket. No client behavior is implemented. Only file name of socket is required to prepare object of this class.
void UnixSocket::open | ( | const std::string & | name | ) |
This method creates new UNIX domain 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] | name | The path to new UNIX domain socket |