I'm creating a BitTorrent client in Go and having trouble obtaining peers from UDP tracker servers. My announce response looks correct, except I'm not receiving the correct peers. Im trying multiple trackers for each torrent, and for each torrent and tracker, I'm receiving the same response, 1 single peer with always the same IP and port. Reading from the socket gives me at most 26 bytes, meaning that the server is definitely only sending back 1 peer. (20 byte response + 6 bytes per peer) Any guidance as to what more info I can provide to help debug this would be great!
My Announce request looks as such:
The Announce response looks as such: