During tests I found out today that while my UDP/IP implementation worked on a single computer or a LAN, it did not work when playing over the internet.
To fix that, I have added an input field for the client (non game host) IP address.
At least for a regular broadband connection w/o router, you can find out your IP address by right clicking on the network symbol in the system tray, selecting "Status" and looking up the client IP address in the "Details" tab (if it's not named "Details" on your computer, just browse through the tabs).
Tell me how ... it contains a function to get the computer's "own" IP address, but that returns a different one than the network adapter's client IP. If you know how to get that one, tell me.
misunderstanding. I don't know a way to tell which adapter actually connects to the inet and is being used for D2X's traffix.
Btw, the above function is for WinXP, so I cannot use it. I need something more general. The best solution would be to find out which source IP has been used by sendto().