Re: MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.
Re: MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.
- Subject: Re: MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.
- From: Quinn <email@hidden>
- Date: Mon, 19 Sep 2005 22:19:16 +0100
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:
This email sent to email@hidden