I think it's saved in the registry somewhere. Though I'm not entirely sure where, or how reliable it is...
I seem to recall an API call within Win32 as well
GetTcpAddrTable() or something like that....
If you're targetting a cross-platform deployment (which I assume not, since you said Blitz3D), I'm not sure what the equivalents are on the Mac or Posix side...
[edit]
Here ya go...
http://msdn2.microsoft.com/en-us/library/aa365949.aspx
I seem to recall an API call within Win32 as well
GetTcpAddrTable() or something like that....
If you're targetting a cross-platform deployment (which I assume not, since you said Blitz3D), I'm not sure what the equivalents are on the Mac or Posix side...
[edit]
Here ya go...
http://msdn2.microsoft.com/en-us/library/aa365949.aspx