How to broadcast in java network

Viewed 8788

Its my first time programing network in java. I was looking for a way to send to somehow broadcast to all nodes in the whole networking. To let them know of my existence. I'm trying to make a multiplayer network game, and I want the clients to be able to see all the games available to choose which one to join. I want to know how to broadcast from the server and also how to make the clients listen.

Please make it simple, I'm a newbie :)

Thanks in advance.

3 Answers
Related