Microsoft DirectX 8.1 (Visual Basic) |
You should monitor your pending message queues to ensure that they do not become too large. The DirectPlay8Peer, DirectPlay8Client, and DirectPlay8Server objects all expose a GetSendQueueInfo method that can be used to check the number of messages and the number of bytes currently in the queue. By default, the method returns the total for all three queues, but you can also obtain values for each of the three priority levels.