//flex table opened by JP

Click to See Complete Forum and Search --> : don't quite know where this one fits, but an interesting question....


zskillz
05-28-2000, 11:14 PM
I'm using win2k to share a modem connection amongst 5 or 6 computers (yea, i know, 28.8, dsl isn't available for some reason)...
anyway, the service is provided by the university that my parents are professors at. in the past, the have contacted us when the connection has been on for days, and told us that that's not what it's for...
now that we're all networked, the connection is almost permanent (as it can be with a modem)...
I want to write a program that checks whether or not there has been data transfer along the modem line, and if after a certain period of time, there has been no activity, the program will disconnect.
I know that when u use a modem a little graphic appears in the taskbar and when u click on that, it shows you a realtime output of bytes sent/received... what i would like to do is access that information and then base the time on that..

what I'm asking here is what u all think would be a good way to go about doing this program... also, if there is any way to access the information that the graphic displays so that i can use the program to do it that way (if that is the indeed the best strategy[probably not though, hehe])
anyway, any sort of input would be well appreciated
thanks
-Z

OuTpaTienT
05-29-2000, 12:41 AM
hmmmm, well, you do know that programs already exist to do that for you...right? You can find one called "Internet Timer" here: Tucows Internet Utilities - Online Timers (http://tucows.cyberspacehq.com/win2k/time2k.html)

But if you want to write your own program to do that, then more power to ya.