|
-
Jul 14th, 2000, 05:31 PM
#1
Thread Starter
Lively Member
Hello.
I am having a problem with this API instruction:
Private Declare Function inet_ntoa Lib "wsock32.dll" (ByVal inn As Long) As Long
(this function is used to convert a unsigned long ip address to a string i.e. 24.34.25.23)
As you can see the varible passed to the wsock32.dll is declared as LONG.
I have a legit IP address: 3582069972
this number, however, is not LONG... it is double.
when i try to pass this number to the above function i get overflow errors.
How can i pass this large number to the 'inet_ntoa' without getting overflow errors?
thanks =)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|