|
xale-db 1.0
minimal SQL engine, written in c++
|
Server-side socket: binds a port and produces per-client connections. More...
#include <IListenerSocket.h>


Public Member Functions | |
| virtual | ~IListenerSocket ()=default |
| virtual bool | open (int port)=0 |
| Bind and start listening on the given port. | |
| virtual std::unique_ptr< IClientConnection > | acceptClient ()=0 |
| Block until a new client connects, then return a connection object. | |
| virtual void | close ()=0 |
| Close the listening socket. | |
Server-side socket: binds a port and produces per-client connections.
|
virtualdefault |
|
pure virtual |
Block until a new client connects, then return a connection object.
Implemented in Xale::Net::LinuxSSLListenerSocket.
|
pure virtual |
Close the listening socket.
Implemented in Xale::Net::LinuxSSLListenerSocket.
|
pure virtual |
Bind and start listening on the given port.
| port | TCP port to listen on |
Implemented in Xale::Net::LinuxSSLListenerSocket.