Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with IPSOCKET / Winsock
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Problem with IPSOCKET / Winsock
Miscellaneous
Thread ID:
00452981
Message ID:
00452981
Views:
61
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.
Next
Reply
Map
View

Click here to load this message in the networking platform