SCNetworkConnectionStart sometimes won't dial.
SCNetworkConnectionStart sometimes won't dial.
- Subject: SCNetworkConnectionStart sometimes won't dial.
- From: Jonathan Wight <email@hidden>
- Date: Tue, 18 May 2004 09:50:40 -0400
I'm populating the network configuration via SCPreferenceRef with
information for a PPP network connection. I am not using MoreSCF but
have my own code that seems to be doing everything correctly.
Then I'm using the SCNetworkConnectionRef functions to try dial a PPP
server. However sometimes (1 in 5 maybe?) it refuses to dial and I get
an error saying that my network set is invalid (unfortunately I can't
reproduce the error right now so can't get the exact error, grrr!). I
can inspect the preferences set before and after the
SCNetworkConnectionStart function call and it looks perfectly valid to
me (just the same as the 4/5s of the time the connection works).
I've tried interfacing directly with the example code from PPPLib and
that has the same error too (I'd assume SCNetworkConnection talks to
the same PPPLib code).
I haven't seen the same problem if I use MoreSCF but I've gone over
MoreSCF and my code with a fine tooth comb and don't see anything in
MoreSCF that not doing.
This is (obviously) running under a 10.3 box (currently 10.3.3 but have
seen same problem on over releases) with the built-in 56K modem doing
the dial-up.
Any help appreciated.
Jon.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.