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: MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.



At 16:01 -0500 19/9/05, Juan Ignacio Leon wrote:
Any Suggestions?

The port scanning code is inherently unmaintainable. Every time Apple changes how the Network preferences panel shows a list of ports, someone (that is, me) has to rev the port scanning code.


Unfortunately I haven't revised the code in a while (at a minimum, I haven't revised it since I got a machine with an AirPort Extreme card), so it doesn't handle this case properly (as well as many other cases).

The good news is that Apple has introduced a proper port scanning API in Mac OS X 10.4. See SCNetworkInterfaceCopyAll in <SystemConfiguration/SCNetworkConfiguration.h>. At some point I will wire up the MoreSCF port scanner to call through to this API when it's available, but I haven't done that yet. Sorry.

Still, it shouldn't be too hard to do yourself.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >MoreSCF Location woes and Airport (kSCEntNetAirPort) problems. (From: Juan Ignacio Leon <email@hidden>)
 >Re: MoreSCF Location woes and Airport (kSCEntNetAirPort) problems. (From: Juan Ignacio Leon <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.