#include <sys/types.h>
#include <netdb.h>
#include <sys/socket.h>
#include "listener.h"
#include "connector.h"
#include "sockaddr.h"
Go to the source code of this file.
Classes | |
class | SocketListener |
A class describing how to listen on any type of socket. More... |
This is an abstract virtual class; you must instantiate an appropriate subclass (currently TCPListener or UDSListener) to do the work. These classes will implement the listen_for_incoming() functionality that will block waiting for an incoming socket connection, and return the correct subclass of Connector (in this case, also a subclass of SocketConnector) to then be handed into a Connection/Outlet/BiDirConn to be managed as an existing connection.
Definition in file socklistener.h.