I'm running java 1.5 on windows xp. I would like to develop an app which listens and stores data received on a certain port from an ip address.
My trouble is where to start? I do know i need to use java.net.datagramsocket
For instance, how do i test if the port is occupied locally by another service?
Should I assume it will just "catch" the udp datagrams floating around the local network?