Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: disabling mulicast loopback + getting IP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disabling mulicast loopback + getting IP



At 10:16 AM +0100 9/24/02, Quinn wrote:
Eric

I'm trying to determine the local IP address(es) using the sample code in TN1145 (Living in a Dynamic TCP/IP Environment), Listing 6. Getting the local IP address list using System Configuration framework. It doesn't compile for me, though, failing with numerous errors.

I've attached a copy of the project I created while developing the technote.

S+E
Attachment converted: Erok:DynamicTCPTestsSCF.sit (SIT5/SIT!) (000C9329)
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware

Thanks. I can't get this one to compile either, though. I'm using 10.1.5 and CW 7.2. It couldn't find ConditionalMacros.h or MacTypes.h, so I added FlatCarbon to the search path. Then, I get:

Error : ')' expected
CFArray.h line 80 typedef const void * (*CFArrayRetainCallBack)(CFAllocatorRef allocator, const void *value);

Error : ')' expected
CFArray.h line 81 typedef void (*CFArrayReleaseCallBack)(CFAllocatorRef allocator, const void *value);

Error : declaration syntax error
CFArray.h line 82 typedef CFStringRef (*CFArrayCopyDescriptionCallBack)(const void *value);

Error : declaration syntax error
CFArray.h line 83 typedef Boolean (*CFArrayEqualCallBack)(const void *value1, const void *value2);

Error : ';' expected
CFArray.h line 85 CFIndex version;

Error : declaration syntax error
CFArray.h line 88 CFArrayCopyDescriptionCallBack copyDescription;

<etc...>
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.