Recently I've been making a game just for fun. The other day I decided to take the leap and learn about sockets and it surprised me how easy it was (for a long time it baffled me). I want to incorporate LAN play into my game. The thing is though, I want it to be like in Minecraft or Call of Duty where it finds LAN servers on its own. I spent a considerable amount of time looking for a way to do this but I have come up empty. Everything I have tried has failed. I'm using UDP. So, to restate my title as a question: How do you find all the IP addresses connected to a LAN and then find out if they are binding a specific socket?