Poupou's blog http://pages.infinit.net/ctech/poupou.html Looking for perfect security? Try a wireless brick.<br> Otherwise you may find some unperfect stuff here... Copyright &copy; 2003-2006 S&eacute;bastien Pouliot. All rights reserved. Wed, 03 Jun 2009 15:29:40 GMT spouliot@videotron.ca spouliot@videotron.ca Blog-e-ho! Sockets'R'In 2e60bb52-c743-4c44-97ec-ae371ed44562 http://pages.infinit.net/ctech/20090603-0329.html Wed, 03 Jun 2009 15:29:12 GMT <p>Moonlight 2 <a href="http://go-mono.com/moonlight-preview/" target="_blank">preview #4</a> is now available! New in this preview release is socket support, including the security policies that surrounds them. Moonlight support for sockets is identical to what Silverlight 2 offers, meaning:</p> <ul> <li>it's client only (i.e. no listening) <li>it's TCP only (i.e. no UDP sockets) <li>it's asynchronous only (a good very thing IMO) <li>the port range is limited between 4502-4534 and can be further limited by the policy <li>it always requires a cross-domain policy, even if it is connecting back to the site of origin (SoO) <li>the plugin will request the policy on port 943 of the host you wish to connect to (see <a href="http://anonsvn.mono-project.com/viewvc/trunk/moon/tools/sockpol/sockpol.cs?view=markup" target="_blank">sockpol</a>) <li>this policy must be in the Silverlight format (clientaccesspolicy.xml) not in the Flash policy format (crossdomain.xml) </ul> <p>Not many socket applications are available live on the net but there is a small chat app to test them @ <a href="http://www.michielpost.nl/PostDetail_7.aspx" target="_blank">http://www.michielpost.nl/PostDetail_7.aspx</a>.</p> <p><b>Note: a lot was written about Silverlight sockets for the 2.0 beta 1 and betas (like previews ;-) reviews are often misrepresenting the final features.</b></p>