Hiroshi Yamaguchi / SimpleSocket 1.0

Dependents:   SimpleSocketExamples 1.0

Embed: (wiki syntax)

« Back to documentation index

SocketError Class Reference

SocketError Class Reference

wrapper class of TCPSocketErr More...

#include <SimpleSocket.h>

Public Member Functions

 SocketError (TCPSocketErr err)
 creates a SocketError wrapper object.
char * toString ()
 operator char * ()
 an operator overloading for toString().
 operator int ()
 an operator overloading for TCP socket error number.

Detailed Description

wrapper class of TCPSocketErr

Definition at line 66 of file SimpleSocket.h.


Constructor & Destructor Documentation

SocketError ( TCPSocketErr  err )

creates a SocketError wrapper object.

Parameters:
errTCP socket error number

Definition at line 62 of file EventsErrors.cpp.


Member Function Documentation

operator char * (  )

an operator overloading for toString().

Definition at line 87 of file EventsErrors.cpp.

operator int (  )

an operator overloading for TCP socket error number.

Definition at line 91 of file EventsErrors.cpp.

char * toString (  )
Returns:
a string representation of the error

Definition at line 64 of file EventsErrors.cpp.