x


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

more ▼

asked Feb 09 '12 at 06:46 AM

Jean Fabre gravatar image

Jean Fabre
3.1k 69 76 103

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

It is stored in a array because there can be multiple IP's associated with one host.

more ▼

answered Feb 10 '12 at 12:32 AM

jacobschellenberg gravatar image

jacobschellenberg
61 2 3 3

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 Alex Chouls for pointing this out to me )

Feb 10 '12 at 06:39 AM Jean Fabre
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x16
x3

asked: Feb 09 '12 at 06:46 AM

Seen: 563 times

Last Updated: Feb 10 '12 at 06:39 AM