|
-
Apr 23rd, 2000, 04:06 AM
#1
Thread Starter
Hyperactive Member
How can you update the data returned by an API Call?
Hi, I recently (Today) wrote a program which could detect whether I am connected to the internet and if I am connected via Lan or Modem. Well when I run the program it return all the right information but unfortunaly I am not able to refresh these data. For example when I run the program it return that I am online vial a lan Connection but if I disconnect my cable modem from the power supply it still return the same infomation I tried to update this information but I was not able to do it anyway. I am not sure but is it that you can't refresh data's returned by API calls when you runed it first? Or is it anyway to do it. I need this program to check the status of the modem because if I become disconnected by an accident for five minutes my ISP will disconnect me from the server and I have to call them. Please help me if you can I really appreciate it.
===========================
Kourosh Gonabadi
VB Programmer 
C++ Newbie 
Graphic Designer
===========================
-
Apr 23rd, 2000, 05:17 AM
#2
Junior Member
API refresh
You said you can't get the data to refresh. Did you call the api a second time after you disconnected the cable?
-
Apr 23rd, 2000, 05:33 AM
#3
Thread Starter
Hyperactive Member
Well the API call is located inside a function I keep calling the function every 5 second. But it doesn't seems to update the info.
===========================
Kourosh Gonabadi
VB Programmer 
C++ Newbie 
Graphic Designer
===========================
-
Apr 23rd, 2000, 07:15 AM
#4
Thread Starter
Hyperactive Member
Well I took a look at the place I took the API from it and I saw couple of more people who used the API and had the same program.
Thanks for readin anyway.
===========================
Kourosh Gonabadi
VB Programmer 
C++ Newbie 
Graphic Designer
===========================
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|