views:

30

answers:

1

Is it possible to make a WebSocket connection in Silverlight? Or if not, does anyone know whether this is scheduled for future versions?

+1  A: 

Ostensibly yes.

In fact it has been used to provide a fall back solution for browsers that don't support WebSockets.

See the following for more info but note that this implementation is against v75 not v76 (latest).

Demo: http://40interop.ep.interop.msftlabs.com/html5/wschat.html

Info: http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2010/07/27/silverlight-and-websockets.aspx

Info: http://tomasz.janczuk.org/2010/07/silverlight-html5-websocket-client-with.html

chrismilleruk