• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: Internet Connect Notification on failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Internet Connect Notification on failure


  • Subject: re: Internet Connect Notification on failure
  • From: Rich Kubota <email@hidden>
  • Date: Thu, 5 Oct 2006 16:43:10 -0700

Along with all the other PPP options, the caller of the SCNetworkConnection API can add the following key to the PPP dictionary:

 "AlertEnable" , type Integer, value 0 --> will disable all ppp alerts.

I'm using the "snazzy" System Configuration framework introduced in 10.3 to manage PPP connections.

 However, when I use:

 SCNetworkConnectionStart

 Then process all the lovely notification.

And then after the connection fails, Internet Connect displays a connection failed dialog to notify the user. Well since I already know the connection failed, and in this case there is no user, this dialog is useless. To make matters worse, when the software tries to connect again, and it fails again I get a second notification from Internet Connect. Over time I can end up with numerous useless user notifications.

So my question is, is there a way to prevent Internet Connect from displaying these failure notifications ? If so, how ???

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (<mailto:email@hidden>email@hidden)
Help/Unsubscribe/Update your Subscription:
best wishes.
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
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


  • Prev by Date: Internet Connect Notification on failure
  • Next by Date: Problem sending large buffers with iovecs
  • Previous by thread: Internet Connect Notification on failure
  • Next by thread: Problem sending large buffers with iovecs
  • Index(es):
    • Date
    • Thread