Author Topic: add a counter in the function, processPackets  (Read 2935 times)

siquan

  • Not-a-newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
add a counter in the function, processPackets
« on: January 23, 2006, 09:28:01 AM »

    How about to add a counter to decide how many packets doing once?

Rak'kar

  • Administrator
  • Hero Member
  • *****
  • Posts: 6895
  • Karma: 291
    • View Profile
    • RakNet
Re: add a counter in the function, processPackets
« Reply #1 on: January 23, 2006, 10:44:52 PM »
If you mean how many packets are in the user receive buffer, there is no function to get that.  But you can add one if you wanted to, although I have no idea why you would want it.  The value is incomingPacketQueue.size() in RakPeer