I need to make a program in java which can detect packet over in TCP/IP on specific ports. I know this is possible yet I cannot find a RFC or any way to do this on the internet. Can someone give me an idea of how to do this? To be more specific, I've got to make a program for my dissertation which will detect packet loss over streaming media in windows media player and real player, as to see which one is the best. Any help or point in the right direction would be greatly appreciated. Thanks in advance, Dan.