mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
sort of better
This commit is contained in:
parent
d21494ed39
commit
5bba1a7084
@ -26,8 +26,8 @@
|
||||
socket_udp_outgoing.h time_general.h
|
||||
|
||||
#define INCLUDED_SOURCES \
|
||||
buffered_datagramconnection.cxx \
|
||||
config_nativenet.cxx \
|
||||
buffered_datagramconnection.cxx \
|
||||
socket_ip.cxx \
|
||||
socket_tcp.cxx \
|
||||
socket_tcp_listen.cxx \
|
||||
|
@ -241,7 +241,7 @@ inline bool Buffered_DatagramConnection::SendMessageBufferOnly(Datagram &msg)
|
||||
if(val >= 0)
|
||||
return true;
|
||||
|
||||
nativenet_cat.error() << "Buffered_DatagramConnection::SendMessageBufferOnly->Error On Write--Out Buffer = " _Writer.AmountBuffered() << "\n";
|
||||
nativenet_cat.error() << "Buffered_DatagramConnection::SendMessageBufferOnly->Error On Write--Out Buffer = " << _Writer.AmountBuffered() << "\n";
|
||||
ClearAll();
|
||||
return false;
|
||||
}
|
||||
@ -322,7 +322,7 @@ bool Buffered_DatagramConnection::Flush(void)
|
||||
inline void Buffered_DatagramConnection::Reset()
|
||||
{
|
||||
nativenet_cat.error() << "Buffered_DatagramConnection::Reset()\n";
|
||||
ClearAll();`
|
||||
ClearAll();
|
||||
};
|
||||
|
||||
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
else
|
||||
{
|
||||
answer = -2;
|
||||
nativenet_cat.error() << "buffered_datagram_reader:ReadPump Yeep! buffer has no room to read to -- " << sck.GetPeerName().get_ip_port().c_str() << "\nBufferAvaiable = " << readsize " AmountBuffered = " << AmountBuffered() << " BufferSize " << GetBufferSize() << "\n";
|
||||
nativenet_cat.error() << "buffered_datagram_reader:ReadPump Yeep! buffer has no room to read to -- " << sck.GetPeerName().get_ip_port().c_str() << "\nBufferAvaiable = " << readsize <<" AmountBuffered = " << AmountBuffered() << " BufferSize " << GetBufferSize() << "\n";
|
||||
|
||||
}
|
||||
return answer;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "buffered_datagramconnection.cxx"
|
||||
#include "config_nativenet.cxx"
|
||||
#include "buffered_datagramconnection.cxx"
|
||||
#include "socket_ip.cxx"
|
||||
#include "socket_tcp.cxx"
|
||||
#include "socket_tcp_listen.cxx"
|
||||
|
Loading…
x
Reference in New Issue
Block a user