Listens for incoming TCP/IP socket connections. More...
#include <tcp_listen.h>
Inheritance diagram for uicore::TCPListen:Public Member Functions | |
| virtual std::shared_ptr< TCPConnection > | accept (SocketName &end_point)=0 |
| Accept an incoming connection. More... | |
| virtual void | close ()=0 |
| Stops listening for incoming messages and closes the socket. More... | |
Static Public Member Functions | |
| static std::shared_ptr< TCPListen > | listen (const SocketName &endpoint, int backlog=5, bool reuse_address=true) |
| Create a listening socket for the specified end point. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from uicore::NetworkEvent | |
| virtual SocketHandle * | socket_handle ()=0 |
Listens for incoming TCP/IP socket connections.
|
pure virtual |
Accept an incoming connection.
| end_point | Socket name of the accepted peer |
|
pure virtual |
Stops listening for incoming messages and closes the socket.
|
static |
Create a listening socket for the specified end point.