Exception class for socket-related errors in jsocketpp.
Represents socket-related errors in the jsocketpp library.
Definition SocketException.hpp:63
SocketInitializer & operator=(const SocketInitializer &rhs)=delete
Deleted copy assignment operator (non-copyable).
SocketInitializer()
Initialize socket system (WSAStartup on Windows).
Definition SocketInitializer.hpp:26
SocketInitializer(const SocketInitializer &rhs)=delete
Deleted copy constructor (non-copyable).
~SocketInitializer() noexcept
Clean up socket system (WSACleanup on Windows).
Definition SocketInitializer.hpp:39
Common platform and utility includes for jsocketpp.
A C++ socket library providing Java-style networking interfaces.
Definition BufferView.hpp:16
int CleanupSockets()
Definition common.hpp:241
std::string SocketErrorMessage(int error, bool gaiStrerror=false)
Convert a socket-related error code to a human-readable message.
Definition common.cpp:5
int GetSocketError()
Definition common.hpp:246
int InitSockets()
Definition common.hpp:235