Re: Is there a clean way to get my default IP address.
Re: Is there a clean way to get my default IP address.
- Subject: Re: Is there a clean way to get my default IP address.
- From: Scott Ribe <email@hidden>
- Date: Mon, 05 Dec 2005 16:34:54 -0700
- Thread-topic: Is there a clean way to get my default IP address.
> The IP address it returns is a char * returned from inet_ntoa(dstAddr)
> which I presume to be an allocated pointer, returning my IP address.
>From the man page:
"The string returned by inet_ntoa() resides in a static memory area."
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden