• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a clean way to get my default IP address.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Is there a clean way to get my default IP address. (From: John Draper <email@hidden>)

  • Prev by Date: Is there a clean way to get my default IP address.
  • Next by Date: Re: Is there a clean way to get my default IP address.
  • Previous by thread: Is there a clean way to get my default IP address.
  • Next by thread: Re: Is there a clean way to get my default IP address.
  • Index(es):
    • Date
    • Thread