NewNet::UnixClientSocket Class Reference

Unix client socket. More...

#include <nnunixclientsocket.h>

Inheritance diagram for NewNet::UnixClientSocket:

NewNet::ClientSocket NewNet::Socket NewNet::Object List of all members.

Public Member Functions

 UnixClientSocket ()
 Create a new unconnected unix client socket.
void connect (const std::string &path)
 Connect to a unix path.

Detailed Description

A client socket that provides a streaming unix domain socket type.

Definition at line 30 of file nnunixclientsocket.h.


Constructor & Destructor Documentation

NewNet::UnixClientSocket::UnixClientSocket (  )  [inline]

This creates a new, unconnected unix client socket. Call connect() to connect the client socket to unix path.

Definition at line 36 of file nnunixclientsocket.h.


Member Function Documentation

void NewNet::UnixClientSocket::connect ( const std::string &  path  ) 

Creates a new descriptor and tries to connect it to the specified path.

Definition at line 26 of file nnunixclientsocket.cpp.

References NewNet::ClientSocket::cannotConnectEvent, NewNet::ClientSocket::connectedEvent, NewNet::Socket::descriptor(), NewNet::Socket::ErrorCannotConnect, NewNet::Socket::ErrorInvalidPath, NewNet::Socket::setDescriptor(), NewNet::Socket::setSocketError(), NewNet::Socket::setSocketState(), NewNet::Socket::SocketConnected, NewNet::Socket::SocketConnecting, NewNet::Socket::socketState(), and NewNet::Socket::SocketUninitialized.


The documentation for this class was generated from the following files:
Generated on Sun Jan 7 14:00:02 2007 for NewNet by  doxygen 1.5.1