mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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
|
socket_udp_outgoing.h time_general.h
|
||||||
|
|
||||||
#define INCLUDED_SOURCES \
|
#define INCLUDED_SOURCES \
|
||||||
buffered_datagramconnection.cxx \
|
|
||||||
config_nativenet.cxx \
|
config_nativenet.cxx \
|
||||||
|
buffered_datagramconnection.cxx \
|
||||||
socket_ip.cxx \
|
socket_ip.cxx \
|
||||||
socket_tcp.cxx \
|
socket_tcp.cxx \
|
||||||
socket_tcp_listen.cxx \
|
socket_tcp_listen.cxx \
|
||||||
|
@ -241,7 +241,7 @@ inline bool Buffered_DatagramConnection::SendMessageBufferOnly(Datagram &msg)
|
|||||||
if(val >= 0)
|
if(val >= 0)
|
||||||
return true;
|
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();
|
ClearAll();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -322,7 +322,7 @@ bool Buffered_DatagramConnection::Flush(void)
|
|||||||
inline void Buffered_DatagramConnection::Reset()
|
inline void Buffered_DatagramConnection::Reset()
|
||||||
{
|
{
|
||||||
nativenet_cat.error() << "Buffered_DatagramConnection::Reset()\n";
|
nativenet_cat.error() << "Buffered_DatagramConnection::Reset()\n";
|
||||||
ClearAll();`
|
ClearAll();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ public:
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
answer = -2;
|
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;
|
return answer;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "buffered_datagramconnection.cxx"
|
|
||||||
#include "config_nativenet.cxx"
|
#include "config_nativenet.cxx"
|
||||||
|
#include "buffered_datagramconnection.cxx"
|
||||||
#include "socket_ip.cxx"
|
#include "socket_ip.cxx"
|
||||||
#include "socket_tcp.cxx"
|
#include "socket_tcp.cxx"
|
||||||
#include "socket_tcp_listen.cxx"
|
#include "socket_tcp_listen.cxx"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user