Class SocketException

Class Documentation

class SocketException

Thrown by Sockets.

Public Functions

SocketException(std::string s)

Create a socket error without an error code from std::string message.

SocketException(std::string s, int err)

Create a socket error object with error code.

SocketException(std::string s, int err, std::string host, int port)

Create a socket error object including host and port data.

inline ~SocketException()

Destory.

std::string str()

Return the error as a string.

inline std::string msg()

Return m_str.

inline int error()

return m_err