NCL Library
Public Types | Public Member Functions | Public Attributes
CSocketException Class Reference

#include <SocketException.hpp>

List of all members.

Public Types

enum  ErrCode {
  E_CREATE_FAILED = 10, E_RESOLVE_FAILED = 11, E_CONNECT_FAILED = 12, E_BIND_FAILED = 13,
  E_LISTEN_FAILED = 14, E_ACCEPT_FAILED = 15, E_SEND_FAILED = 16, E_RECV_FAILED = 17,
  E_PEEK_FAILED = 18, E_SELECT_FAILED = 19, E_QUERY_FAILED = 20, E_DISCONNECTED = 21,
  E_BAD_PROTOCOL = 22, E_WAIT_FAILED = 23
}

Public Member Functions

 CSocketException (int eErrCode, int nWSACode)
virtual ~CSocketException () throw ()

Public Attributes

int m_nWSACode

Member Enumeration Documentation

Enumerator:
E_CREATE_FAILED 
E_RESOLVE_FAILED 
E_CONNECT_FAILED 
E_BIND_FAILED 
E_LISTEN_FAILED 
E_ACCEPT_FAILED 
E_SEND_FAILED 
E_RECV_FAILED 
E_PEEK_FAILED 
E_SELECT_FAILED 
E_QUERY_FAILED 
E_DISCONNECTED 
E_BAD_PROTOCOL 
E_WAIT_FAILED 

Constructor & Destructor Documentation

CSocketException::CSocketException ( int  eErrCode,
int  nWSACode 
)
CSocketException::~CSocketException ( ) throw () [virtual]

Member Data Documentation


The documentation for this class was generated from the following files: