ya but what if you have more than one adapter/nic card or you're behind a proxy?
>See
Get Local IP address FAQ #7778.
>
>>Hi gang,
>>
>>Anybody out there know of an API call to get the IP address of a local machine? For various reasons, it's not practical for one of my clients to shell to DOS, call IPCONFIG and send the output to a file -- so I'm trying to give them another option (g). BTW, they don't use WebConnect, so that's another idea that won't fly (sigh)...
>>
>>All assistance greatly appreciated --
>>
>>TIA,
ICQ 10556 (ya), 254117