Hello everybody.
I am trying to make a Game for the webplayer and i need to get NTP Time.
The problem is the security settings.
System.Security.SecurityException: Unable to connect, as no valid crossdomain policy was found
at System.Net.Sockets.Socket.Connect_internal (IntPtr sock, System.Net.SocketAddress sa, System.Int32& error, Boolean requireSocketPolicyFile) [0x00000] in :0
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in :0
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000] in :0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress ipAddresses, Int32 port) [0x00000] in :0
UnityEngine.Debug:Log(Object)
I read http://docs.unity3d.com/Manual/SecuritySandbox.html but to be honest i didnt understand much.
I wonder if someone could explain me in simple steps on what to do in order to get the real time from this server “time.nist.gov” or any other.