- Home /
HostData.ip why is it stored as an array of string?
Hi,
I am wondering why HostData.ip is a string[]
The documentation is very thin on this, maybe I am missing something very important that would explain this?
Thanks,
Jean
Answer by jacobschellenberg · Feb 10, 2012 at 12:32 AM
It is stored in a array because there can be multiple IP's associated with one host.
Ok, It's actually describe more in details in the network connect help page: http://unity3d.com/support/documentation/ScriptReference/Network.Connect.html ( thanks to $$anonymous$$ Chouls for pointing this out to me )
Your answer

Follow this Question
Related Questions
How to keep the server listening? 1 Answer
How do i connect to a host that is registered on the MasterServer? 0 Answers
Adding server's ip address to favorites so that I don't have to type it in all the time? 1 Answer
Streaming EEG data from Qstreamer to Unity 0 Answers
Encrypt native plugins/protect IP 0 Answers