Re: Is the internet avaliable question
Re: Is the internet avaliable question
- Subject: Re: Is the internet avaliable question
- From: m <email@hidden>
- Date: Sun, 4 Apr 2004 20:07:42 -0700
On Apr 4, 2004, at 6:44 PM, Kevin Bracey wrote:
Hmm, some saying they have no problems with SCNetwork, but I seem to
be:
SCNetworkConnection docs have this rider
Note: Currently only PPP services can be controlled
does this mean that
SCNetworkCheckReachabilityByName
will only return
SCError() 4001
Network reachability cannot be determined ( which is what I get using
it )
when on a LAN connected to the internet via a router or BaseStation?
[etc.]
Here <
http://www.muratnkonar.com/source-code/NetworkReachable.dmg.gz>
is a project that works for me. I'm normally connected to the internet
via Airport to a basestation that is connected to DSL via PPP through a
DSL modem. This code also worked over Ethernet, and Airport to a
basestation connected to ethernet. Works as well for PPP modem
connections (reports "unreachable" if not connected and does not
trigger a dial-out, and it reports 'reachable' it there is an active
modem connection).
_murat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.