- Home /
Web player connect to socket policy server problem
SocketPolicyServer use port 843. Our server use another port. In C#:
if( Application.isWebPlayer ||
Application.isEditor ) {
Security.PrefetchSocketPolicy( ip, 843 );
Security.PrefetchSocketPolicy( ip, port );
}
Web client from Unity3d editor work fine. Web player after build doesn't work. Error in web player log:
SocketPolicyClient1: Incoming GetPolicyStreamForIP
SocketPolicyClient1: About to BeginConnect to x.x.x.x:843
SocketPolicyClient1: About to WaitOne
SocketPolicyClient1: Socket connected
SocketPolicyClient1: Socket error: ConnectionReset
Why second Security.PrefetchSocketPolicy failed?
Comment
Your answer
Follow this Question
Related Questions
OSX security issue - rights on Frameworks directory 0 Answers
Web player security and proxy server access 0 Answers
Unity Web Player corporate environment setup 1 Answer
Detecting CD-ROM drives 1 Answer