one way is :
game starts host , sends name and ip to file on webhost
other game starts join , connects to webhost , reads file and creates an array to use ,user chooses one
I think FPSC uses this way. a good example is in the source code.
another way:
buy another computer, make a server, have your games connect to it at your ip, your server gets their ip's writes to array and sends all back to gamers, run server on new computer all the time.
cheaper than a serverhosting.
I never liked the idea of running a server on a host site, seems un reliable.
if this wasn't helpful then pretend I was never here.