NLNET::ESocketConnectionFailed Struct Reference

#include <sock.h>

Inheritance diagram for NLNET::ESocketConnectionFailed:

NLNET::ESocket NLMISC::Exception

Detailed Description

Exception raised when connect() fails.

Definition at line 56 of file sock.h.

Public Member Functions

 ESocketConnectionFailed (CInetAddress addr)
virtual const char * what () const throw ()

Protected Attributes

std::string _Reason


Constructor & Destructor Documentation

NLNET::ESocketConnectionFailed::ESocketConnectionFailed CInetAddress  addr  )  [inline]
 

Definition at line 58 of file sock.h.

References addr, and s.

00058 : ESocket( "Connection to %s failed", true, &addr ) {}


Member Function Documentation

const char * NLMISC::Exception::what  )  const throw () [virtual, inherited]
 

Reimplemented in NL3D::EBadBind.

Definition at line 672 of file common.cpp.

00673 {
00674         return _Reason.c_str();
00675 }


Field Documentation

std::string NLMISC::Exception::_Reason [protected, inherited]
 

Definition at line 244 of file common.h.

Referenced by NLMISC::Exception::Exception().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 14:07:32 2004 for NeL by doxygen 1.3.6