Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why can't I use inet_addr?
Message
From
08/12/2005 13:52:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Why can't I use inet_addr?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076321
Message ID:
01076321
Views:
82
Hello,

I try to use the inet_addr api:
Declare long inet_addr IN "ws2_32.dll" (cp As String)
?inet_addr("204.212.126.86")
But this gives an error:


"Too many arguments"


What can I do?
(I need the long value from an IP address)

Christian Isberner
Software Consultant
Next
Reply
Map
View

Click here to load this message in the networking platform