In Java, or more generally, if I have a tracker announce url like: udp://tracker.coppersurfer.tk:6969, how can I acquire the ip address to add to the constructor of a DataGramPacket that requires an InetAddress?
Or am I missing something and this information is available somewhere else in a .torrent file?
In the BitTorrent specification I can only find how it is done with http addresses but all torrents I find use udp for their trackers.