M
Mobileboy36
Hi group,
I have a function to get the local ip from my pocket device using the
following code:
return
System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName()).AddressList(0).ToString
When the pocket is cradled I get the local ip: 192.168.8.240
That's OK
When the pocket is NOT cradled I get the loopback: 127.0.0.1 That's
OK
BUT: When I have got an active GPRS connection, I get something like
2002:51a9:647a::51a9:647a
Is this behaviour normal?
how can I convert it to a format x.x.x.x ??
best regards,
Mobile boy
I have a function to get the local ip from my pocket device using the
following code:
return
System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName()).AddressList(0).ToString
When the pocket is cradled I get the local ip: 192.168.8.240
That's OK
When the pocket is NOT cradled I get the loopback: 127.0.0.1 That's
OK
BUT: When I have got an active GPRS connection, I get something like
2002:51a9:647a::51a9:647a
Is this behaviour normal?
how can I convert it to a format x.x.x.x ??
best regards,
Mobile boy