|
-
Dec 16th, 2007, 10:01 AM
#1
Thread Starter
Hyperactive Member
Connection IP
I want to know the IP address of the other system that my winsock is connected to. RemoteHost and RemoteHostIP only are long value while I need a value in IP address format.
-
Dec 16th, 2007, 01:39 PM
#2
Member
Re: Connection IP
IP address format? 255.255.255.255? RemoteHostIP returns that kind of format.
Last edited by Kurdistan; Dec 16th, 2007 at 01:44 PM.
-
Dec 17th, 2007, 11:36 AM
#3
-
Dec 20th, 2007, 07:40 AM
#4
Thread Starter
Hyperactive Member
Re: Connection IP
-
Dec 26th, 2007, 09:58 AM
#5
Re: Connection IP
I thought so too.
 Originally Posted by Kurdistan
IP address format? 255.255.255.255? RemoteHostIP returns that kind of format.
-
Dec 28th, 2007, 11:39 AM
#6
Re: Connection IP
A VB6 long would be a four byte value. An IP address is four bytes. I suspect you are getting the IP address as you expect, it just needs to get converted into something. Do you want to actually see the string: Byte1 period byte2 period byte3 period byte4?
My usual boring signature: Nothing
 
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
|