Load Sensing?

Hi,

I need to implement a load sensing mechanism for the ethernet connection of a pc on which my application is running. For now, i dont have any idea how to get started. Ive googled a while but i didnt find anything useful. Does anybody how if java implements methods/classes to handle my problem and is there literature which you can suggest to me?

I know this isnt actually the topic of this forum. But i need to implement this mechanism in connection with Smack So i thought, I just ask here.

Thanks in advance

Daniel

I’ve managed it by myself. If someone is interrested. I’m using jpcap and wincap to capture packages. You just have to start the capture method in promiscuous mode, so you can capture all pakets which enter or leave the desired network interface.