Silverlight Socket

Posted by Benny on Stack Overflow See other posts from Stack Overflow or by Benny
Published on 2010-05-26T02:53:13Z Indexed on 2010/05/28 5:41 UTC
Read the original article Hit count: 537

I am trying to connect a Silverlight client to a socket server and continue to get the following error:

An attempt was made to access a socket in a way forbidden by its access permissions.

I believe I need to specify a clientaccesspolicy.xml through either the socket server or the http://:80/clientaccesspolicy.xml path with the following option set

args.SocketClientAccessPolicyProtocol = SocketClientAccessPolicyProtocol.Http

I am not able to get this running. Any suggestions?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about sockets