#include <XSocket.h>
Public Types | |
| enum | EError { kUnknown, kNotFound, kNoAddress, kUnsupported, kBadPort } |
| Failure codes. More... | |
Public Member Functions | |
| XSocketAddress (EError, const CString &hostname, int port) throw () | |
accessors | |
| EError | getError () const throw () |
| Get the error code. | |
| CString | getHostname () const throw () |
| Get the hostname. | |
| int | getPort () const throw () |
| Get the port. | |
Protected Member Functions | |
| virtual CString | getWhat () const throw () |
Thrown when attempting to create an invalid network address.
Definition at line 30 of file XSocket.h.
|
|
Failure codes.
|
1.3.9.1