14#include <AUI/Network.h>
18#include "AInet4Address.h"
19#include "AUI/Common/AString.h"
33 static AString getErrorString();
35 [[nodiscard]]
inline int getHandle()
const
40 static void handleError(
const AString& message,
int code);
45 mSelfAddress(selfAddress)
58 void bind(uint16_t bindingPort);
73 void setTimeout(
int secs);
Base class for all sockets.
Definition: AAbstractSocket.h:26
virtual int createSocket()=0
Create socket handle. Use ::socket()
Represents an ipv4 address with port.
Definition: AInet4Address.h:25
Represents a Unicode character string.
Definition: AString.h:37