Changeset 454 in flair-src for trunk/tools/VrpnLite/src/VrpnLite.cpp
- Timestamp:
- Oct 1, 2021, 7:01:36 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/VrpnLite/src/VrpnLite.cpp
r452 r454 31 31 32 32 //if we don'receive ack from client, do not send vrpnobjects anymore 33 #define REMOVE_TIMEOUT (Time) 200000000033 #define REMOVE_TIMEOUT (Time)5000000000 34 34 35 35 … … 134 134 for (int i=0;i<connections.size();i++) { 135 135 if(connections.at(i).lastAck+REMOVE_TIMEOUT<GetTime() && connections.at(i).vrpnobjects.size()!=0) { 136 Printf("client %i did not send ack from % ins, removing it\n",i,REMOVE_TIMEOUT);136 Printf("client %i did not send ack from %lldns, removing it (last ack %lld, time %lld)\n",i,REMOVE_TIMEOUT,connections.at(i).lastAck,GetTime()); 137 137 for (auto it = connections.at(i).vrpnobjects.begin();it < connections.at(i).vrpnobjects.end(); it++) { 138 138 delete (*it);
Note:
See TracChangeset
for help on using the changeset viewer.