21 RecentConnectionReader::
35 RecentConnectionReader::
36 ~RecentConnectionReader() {
93 void RecentConnectionReader::
95 if (net_cat.is_debug()) {
97 <<
"Received datagram of " << datagram.
get_length()
102 _datagram = datagram;
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...
void shutdown()
Terminates all threads cleanly.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
size_t get_length() const
Returns the number of bytes in the datagram.
Similar to MutexHolder, but for a light mutex.
A specific kind of Datagram, especially for sending across or receiving from a network.
bool data_available()
Returns true if a datagram is available on the queue; call get_data() to extract the datagram.
bool get_data(NetDatagram &result)
If a previous call to data_available() returned true, this function will return the datagram that has...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.