Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ping through a proxy server
Message
From
11/02/2000 08:30:00
 
 
To
11/02/2000 07:10:55
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00330581
Message ID:
00330601
Views:
16
>Hi
>need help on pinging through a proxy server (wingate). I can ping the proxy server itself from a network machine but cannot ping an external Internet site. The result is always "request timed out".
>perhaps it is not possible ?
>
>I need to ping to a known to confirm internet connection site before starting an FTP server connection using Mabry FTP/X. an alternative solution would be to kill the Mabry control connect method after a timeout period. Would anyone know a way to do that ?
>tia
>John Harriss

DECLARE INTEGER InternetAttemptConnect IN WinInet.dll INTEGER
?InternetAttemptConnect(0)

If this function returns 0, you have a live connection to the internet. If you are not connected, it attempts to connect through the default internet connection. I have found it to be reliable so far.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform