Hiroshi Yamaguchi / SimpleSocket 1.0

Dependents:   SimpleSocketExamples 1.0

Embed: (wiki syntax)

« Back to documentation index

DatagramError Class Reference

DatagramError Class Reference

wrapper class of UDPSocketErr More...

#include <SimpleSocket.h>

Public Member Functions

 DatagramError (UDPSocketErr err)
 creates a DatagramError wrapper object.
char * toString ()
 operator char * ()
 an operator overloading for toString().
 operator int ()
 an operator overloading for UDP socket error number.

Detailed Description

wrapper class of UDPSocketErr

Definition at line 128 of file SimpleSocket.h.


Constructor & Destructor Documentation

DatagramError ( UDPSocketErr  err )

creates a DatagramError wrapper object.

Parameters:
errUDP socket error number

Definition at line 116 of file EventsErrors.cpp.


Member Function Documentation

operator char * (  )

an operator overloading for toString().

Definition at line 135 of file EventsErrors.cpp.

operator int (  )

an operator overloading for UDP socket error number.

Definition at line 139 of file EventsErrors.cpp.

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

Definition at line 118 of file EventsErrors.cpp.