Hi,
Since I didn’t find example about pinging a gameserver, I tried to make my own and it allready works to ping a certain IP address.
Now I would like to ping the IP addresses of gameservers retrieved by pollhostlist.
If element is an element of HostData, then I can retrieve element.ip[0]
This returns in my case the 192.168;1.108 IP address of my machine.
It does not return the full public IP address of the machine on the internet.
Now is that because all My PCs are behind the router and have this kind of local IP, so that unity detects this nd makes sure my IP packets don’t leave the internal network ?
Is this the way to go to ping the IP of the gameserver ? By pinging its element.ip[0] ???
I also tried with element.ip[1] but that returned me an index out of range, so the array seems to contain only 1 element.
Any help/clarification is highly appreciated.
Kind regards,
Bart