Reputation: 66995
Can Silverlight 3 OPEN SOCKETS?
Upvotes: 5
Views: 1153
Reputation: 2195
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
Upvotes: 8
Reputation: 6279
Here's an article about using sockets in Silverlight and here is a link to framework simplifying that. Also a quick search on google will turn up useable results!
Upvotes: 1
Reputation: 926
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 :(
Upvotes: 5