How do i make a server browser

i want to make a server browser like tf2, where players make a server and other players join it, so how do i make something like that?

You could give that YouTube Tutorial a try.