AUI Framework
develop
Cross-platform base for C++ UI apps
|
TCP server socket. More...
#include <AUI/Network/ATcpServerSocket.h>
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 |
Creates socket handle. | |
Protected Member Functions inherited from AAbstractSocket | |
int | getHandle () const |
AAbstractSocket (int handle, const AInet4Address &selfAddress) | |
void | init () |
Initialise socket. | |
void | bind (uint16_t bindingPort) |
Binds socket for port. Used for ATcpServerSocket and AUdpSocket. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from AAbstractSocket | |
static AString | getErrorString () |
static void | handleError (const AString &message, int code) |
TCP server socket.
_< ATcpSocket > ATcpServerSocket::accept | ( | ) |
Blocks the thread until next connection.
|
overrideprotectedvirtual |
Creates socket handle.
Implements AAbstractSocket.