Get local IP address [LAN]

BlitzMax Forums/BlitzMax Programming/Get local IP address [LAN]

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi !

I would like to get the IP number of my computer. Not the IP number of my internet-connection [WAN] but just the number within the LAN.
Eg: 192.168.1.10 or something like that.

There is this system command [OsX] 'ifconfig' which shows me the info i need but when I use
system_("ifconfig")
I'm unable to catch the output..

Any help?

Ghislain
MacIntel - OsX 10.5