AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
TCP server socket. More...
TCP server socket.
Public Member Functions | |
ATcpServerSocket (uint16_t serverPort) | |
_< ATcpSocket > | accept () |
Public Member Functions inherited from AAbstractSocket | |
AAbstractSocket (const AAbstractSocket &)=delete | |
void | close () |
void | setTimeout (int secs) |
const AInet4Address & | getAddress () const |
Protected Member Functions | |
int | createSocket () override |
Create socket handle. Use ::socket() More... | |
Protected Member Functions inherited from AAbstractSocket | |
int | getHandle () const |
AAbstractSocket (int handle, const AInet4Address &selfAddress) | |
void | init () |
Initialise socket. | |
void | bind (uint16_t bindingPort) |
Bind socket for port. Used for ATcpServerSocket and AUdpSocket. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from AAbstractSocket | |
static AString | getErrorString () |
static void | handleError (const AString &message, int code) |
_< ATcpSocket > ATcpServerSocket::accept | ( | ) |
Blocks the thread until next connection.
|
overrideprotectedvirtual |
Create socket handle. Use ::socket()
Implements AAbstractSocket.
#include <AUI/Network/ATcpServerSocket.h>