• 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: Checking for a PPP connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for a PPP connection


  • Subject: Re: Checking for a PPP connection
  • From: Jens Bauer <email@hidden>
  • Date: Mon, 30 Sep 2002 23:31:57 +0200

Hi Ben,

On Mon, 30 Sep, 2002, Ben Mackin <email@hidden> wrote:

>I am wondering if there is a cocoa call (objective-c not java) to check to
>see if the modem is in use? I tried looking through some of the docs on
>Apple's site, but couldn't seem to find anything.
>
>Would I somehow check /dev/cu.modem, or is there another better way to do
>it.

I'll recommend the MacNetworkProg list for this question, but I'll try
anyway. ;)
-I use ppplib myself, together with MoreSCF and AuthSample
(+QuitSystemPrefs), I wrote a "internet installer" for ISPs.
if you need to dial out and perform various ppp commands, you will need
ppplib. You can get ppplib from Darwin (open source).

There might be several ways that the modem could be in use; one is
ofcourse, if there is an active internet connection.
-Another is if the modem isn't being used for internet connection, but
connecting to another service, such as the Bulletin Board Services from
the "older days". Eg. if a terminal program "reserved" the modem for its use.

In any case, I am positive that you will find ppplib useful.
If you have any further questions, let me know, and I'll try answering
the details. :)


Love,
Jens

--
chmod 077 /
_______________________________________________
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.

References: 
 >Checking for a PPP connection (From: Ben Mackin <email@hidden>)

  • Prev by Date: Re: Checking for a PPP connection
  • Next by Date: Re: ImageNamed not refreshing
  • Previous by thread: Re: Checking for a PPP connection
  • Next by thread: see if a key is down
  • Index(es):
    • Date
    • Thread