Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WWFTP and me
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
Divers
Thread ID:
00617100
Message ID:
00617844
Vues:
27
If all you want to do is check a port you can use wwSocket to connect and see if it works.

o = CREATEOBJECT("wwSocket")
o.nTimeout = 5 && seconds
IF ! o.Connect("www.west-wind.com",80)
? "Failed: " + o.cErrorMsg
RETURN
ENDIF

+++ Rick ---

>How about InternetGetConnectedState: http://www.news2news.com/vfp/?group=92&function=99 and
>http://www.news2news.com/vfp/?example=68&function=99
>I've seen some other discussions here so there are probably some other good solutions too if you do a search here.
>>I am writing an application for shuttling files between remote computers and local worstations.
>>There will be both persistant and transient IP connectons. some users will need to call thier IP for access other will have some sort of persistance such as DSL ISDN, Tx, or, cable modem.
>>
>>I am using WWFTP for this purpose and need some info regarding how to detect a live connection. How do I know if a connection to the Internet is already established, and if not how would you suggest that I code to establish a connection with the users IP. Do I need to use the WWIPSTUFF::Rasdial?
>>
>>Thanks
>>
>>Glenn
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform