Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with IPSOCKET / Winsock
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Problem with IPSOCKET / Winsock
Divers
Thread ID:
00452981
Message ID:
00452981
Vues:
62
Assignment to the public IPSocket variable causes an error on all network workstations. Naturually, it works fine on my production PC.
Lines of code are -
IPSocket = CreateObject("MSWinsock.Winsock")
...
if type('IPSocket')='O'
IPAddress = IPSocket.LocalIP
localhostname=IPSocket.localhostname
endif
...
cemailline13="Local IP: " + IPAddress
cemailline14="Local host: "+localhostname

Is MSWinsock something that needs to be included in the netsetup?
How do I do this?

Ed B
Edgar L. Bolton, B.S. B.B.A.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform