Can Silverlight 3 OPEN SOCKETS?
Yes, it can.
MSDN:
http://msdn.microsoft.com/en-us/library/cc296248(VS.95).aspx
http://msdn.microsoft.com/en-us/library/cc645032(VS.95).aspx
One of the light libs you might find useful:
http://socketslight.codeplex.com
A couple of how-to-s:
http://weblogs.asp.net/dwahlin/archive/2008/04/13/pushing-data-to-a-silverlight-client-with-sockets-part-ii.aspx
http://www.silverlightshow.net/items/SocketsLight-Silverlight-Sockets-Framework.aspx
Yes, you can, but only within a certain range of ports (4502-4534) and only if you can also host an appropriate cross-domain policy file on port 943 on the same server. You've already got the MSDN link - here's an example application (for SL2, but should be similar in 3):
[Pushing Data to a Silverlight Client with Sockets Part 1][1]
Search Dan's blog for "socket" and you can find part 2 and how to create the policy server - SO won't let me post more than 1 link :(
Here's the MSDN article on working with sockets:
Working with Sockets
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With