Using winsock, how could one sorta broadcast a server's address to the entire network?

You know, when we play LAN games, we create a server. And then the other clients, upon clicking refresh, instantly sees the list of hosts.

Since everyone can be a game host, it doesn't seem to me that it's centralized...i.e the game host address is not stored on a centralized server.


Thanks in advance.