You can certainly do more with some server scripting like php and backed by a database like mysql, but you can get the job done with the file read write and ftp commands directly in dbpro.
Basically if someone starts hosting a game, the dbp program can write their IP to a file, ftp this to the server. When clients are looking for games they can connect to that server and look for an available host ip file, download it via ftp and read the ip from it.
If you do go with server scripting with php, asp.net, python or whatever, you can use the http commands in dbpro to send and receive the ip data without bothering with actual file transfers.
There are examples for ftp, http commands in the dbpro help documents and project example directories. You can also do a Google forum search for urlmon which has some helpful functions.