> Is there any way to get the amount of buffer space used on a
> datagram socket? I have an application that handles incoming UDP
> packets and it slows down when the incoming traffic gets pretty
> busy. I would like to figure out how many UDP packets are queued or
> at least how much of the ReceiveBuffer space is being used.
AFAIK there is no way to do this from Java, however from a native
method you might use FIONREAD to see how much data is currently queued
for reading from the socket descriptor.
/gordon

Signature
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e