14 #ifndef CONNECTIONLISTENER_H 15 #define CONNECTIONLISTENER_H 34 const std::string &thread_name = std::string());
37 virtual void receive_datagram(
const NetDatagram &datagram);
38 virtual void connection_opened(
const PT(
Connection) &rendezvous,
42 virtual bool process_incoming_data(SocketInfo *sinfo);
A specific kind of Datagram, especially for sending across or receiving from a network.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.