15 #ifndef CONNECTIONLISTENER_H
16 #define CONNECTIONLISTENER_H
18 #include "pandabase.h"
20 #include "connectionReader.h"
38 const string &thread_name =
string());
41 virtual void receive_datagram(
const NetDatagram &datagram);
42 virtual void connection_opened(
const PT(
Connection) &rendezvous,
46 virtual bool process_incoming_data(SocketInfo *sinfo);
A specific kind of Datagram, especially for sending across or receiving from a network.
The primary interface to the low-level networking layer in this package.
This is an abstract base class for a family of classes that listen for activity on a socket and respo...
Represents a single TCP or UDP socket for input or output.
This is a special kind of ConnectionReader that waits for activity on a rendezvous port and accepts a...
Represents a network address to which UDP packets may be sent or to which a TCP socket may be bound...