What about a client that wants to connect to the server but doesn't know the server's IP address. How would I find the server's IP?
Ideally a server would have a static name/address.
Pretty much any 'real' server would.
You can get a cheap workaround by using DynDNS.org, although that would point to the external routable IP of a machine, not a LAN IP.
If you don't know the address of the server but do know that it (should) exist(s) on your own network segment, you can send a request to the broadcast address of your local LAN and set up the server to listen to those and respond to appropriate messages.
Unfortunately, you still have the same limitation here that you really ought to know the netmask first to reliably find out the broadcast address.
...*anyone* have any pointers on how to obtain that info from BlitzMax?