PDA

View Full Version : Input Plugin request: Detection of dialup connections



jediperry
October 13th, 2002, 12:55 PM
Yeah this would be very handy. I have some code I compiled as a separate program using the RAS API to disconnect the dialup connection, but it would be very useful to be able to connect and check status as well. I could then use the new webserver to allow my housmates to tell the server to dialup etc.
Mike

mattwire
October 13th, 2002, 12:55 PM
In order to recieve notification of a connection it needs to be initiated by that program (so a callback can be implemented).
However, to get a connections state manually the API RasGetConnectStatus can be used.
This would need to be called every minute or so to detect a connection.
Anyone got any better ideas?

This could make quite a useful action plugin:
-DialUp
-Disconnect
-GetConnectionstate

andyh
October 13th, 2002, 12:55 PM
Hi everyone...

I woder if someone could donate an input plugin that detects if a certain dialup connection is online or not. I use girder to control my home internet router an this would let me do some things when a connection is established (i.e. fetch news...)

bye

Andreas