>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