Dear Martin:
On Friday, April 26, 2013 8:28:09 AM UTC-7, Martin wrote:
...
> I am trying to find my PCs IP address from within
> VO,
This is stored in the registry, if all else fails.
> I found this in our code and I am trying to test it.
>
> My address is 192.168.2.232 this returns 16.243.24.0
>
> The second debug through a converter gives me
> 232.2.168.192
Which is correct, except byte reversed. So it looks like an "endian" problem.
Your IP address is a 32-it integer, or 4 8-bit bytes, or 4 single byte characters.
I would:
- Shell execute "IPCONFIG /all >this.txt"
- parse the text file this.txt
... lots easier to dual-platform on Linux this way
David A. Smith