Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ping through a proxy server
Message
De
11/02/2000 08:30:00
 
 
À
11/02/2000 07:10:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00330581
Message ID:
00330601
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform