Hello
I have a socket application that I have written in VB6. It loads 500 controls in an array and reuses them whenever I need to create a new socket.
The first time I use the control (ie I .Connect and .SendData) the .RemoteHostIP property is set correctly, showing the full IP address. If I then .Close and reuse the control by .Connect, the .RemoteHostIP property invariably is missing the final digit in the last octet of the IP address.
For example, on its second use, it says the .RemoteHostIP is "127.0.0."
My MSWINSCK.OCX version is 6.1.98.13.
What should I do?
Nick
I have a socket application that I have written in VB6. It loads 500 controls in an array and reuses them whenever I need to create a new socket.
The first time I use the control (ie I .Connect and .SendData) the .RemoteHostIP property is set correctly, showing the full IP address. If I then .Close and reuse the control by .Connect, the .RemoteHostIP property invariably is missing the final digit in the last octet of the IP address.
For example, on its second use, it says the .RemoteHostIP is "127.0.0."
My MSWINSCK.OCX version is 6.1.98.13.
What should I do?
Nick