16 TypeHandle Buffered_DatagramConnection::_type_handle;
32 nativenet_cat.warning() <<
"Buffered_DatagramConnection::SendMessage->Error On Write--Out Buffer = " << _Writer.
AmountBuffered() <<
"\n";
bool SendMessage(const Datagram &msg)
send the message
size_t AmountBuffered(void)
Will report the number of unread chars in buffer.
TypeHandle is the identifier used to differentiate C++ class types.
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.
const void * get_data() const
Returns a pointer to the beginning of the datagram's data.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.