UnixSocket Class Reference

The UNIX domain socket. More...

Inheritance diagram for UnixSocket:

Socket

List of all members.

Public Member Functions

void open (const std::string &name)
 Creates new UNIX domain socket.
 UnixSocket ()
 The default constructor.
virtual ~UnixSocket ()
 The destructor.


Detailed Description

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.

Member Function Documentation

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.

Parameters:
[in] name The path to new UNIX domain socket
See also:
SystemException


Generated on Thu May 6 16:10:58 2010 for VoiceMan by  doxygen 1.5.9