Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Might be a stupid queston... but



> How does one get his own IP address with cocoa?

This is not an easy question. Suppose that you have four network
interfaces on your machine, all with different IP addresses. You might
want to investigate the man page for gethostbyname. I can't be certain
that this will provide what you need, but it may be a good start.

Cheers,
Will
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Might be a stupid queston... but (From: Kodex <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.