How to refresh server list when player joins?

I been stuck on this one problem in my Lan multiplayer game. Im trying to make it so when a player joins the selected server it will refresh the player list across all connected clients. Any tip on how i can get this to work?