views:

654

answers:

4

Can Silverlight 3 OPEN SOCKETS?


If yes. What do I need

  • MSDN if there is any help on this.
  • Open Source Libs/wrappers for encoding/decoding.
  • Tutorials and blog articles on How to do it.
    If no I need where did you get the info from (link to MSDN or other official SL resource)
+1  A: 

Here's the MSDN article on working with sockets:

Working with Sockets

jfawcett
It's not a yes\no answer.(
Blender
The yes should be implied by the article title.
jfawcett
It's a MSDN article about using Sockets with Silverlight 3.. so.. YES! ;)
andyp
Could you please post some Tutorials and blog articles on How to do it. (open up Socket in SL3)
Blender
+4  A: 

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 :(

Doug Rohrer
+1  A: 

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!

andyp