# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLNET::ESocket Struct Reference

Network exceptions. More...

#include <sock.h>

Inheritance diagram for NLNET::ESocket:

NLMISC::Exception NLNET::EAccessDenied NLNET::EServiceNotFound NLNET::ESocketConnectionClosed NLNET::ESocketConnectionFailed List of all members.

Public Methods

 ESocket (const char *reason="", bool systemerror=true, CInetAddress *addr=NULL)
 Constructor You can provide an internet address. More...


Detailed Description

Network exceptions.

Author:
Olivier Cado , Nevrax France
Date:
2000

Definition at line 44 of file sock.h.


Constructor & Destructor Documentation

NLNET::ESocket::ESocket const char *    reason = "",
bool    systemerror = true,
CInetAddress   addr = NULL
 

Constructor You can provide an internet address.

If so, reason *must* contain "s" where the address should be written. Moreover, the length of reason plus the length of the address when displayed by asString() should no exceed 256.

Referenced by NLNET::EAccessDenied::EAccessDenied, NLNET::EServiceNotFound::EServiceNotFound, NLNET::ESocketConnectionClosed::ESocketConnectionClosed, and NLNET::ESocketConnectionFailed::ESocketConnectionFailed.


The documentation for this struct was generated from the following file: