Websockets client support on Windows Phone 8

When I read about the MessageWebSocket class in Windows 8, I started thinking about an application that could use this client in Windows Phone 8.

But digging deeper, I just realized that the class is not in the Windows Phone 8 SDK.

Do you know if there is any other Websockets client implementation that is compatible with Windows Phone 8 ?. (Here, not Windows 8)

+5
source share
2 answers

Windows Phone 8, unfortunately, does not support native support for websocket, such as WinRT MessageWebSocket. You can use the websocket4net library (see Codeplex: http://websocket4net.codeplex.com/ ) for your wp8 application.

EDIT: websocket4net also supports SSL for WP8!

alex

+4
source

I would try SignalR ... this seems like the right way to implement WebSockets, as it is part of the MSFT Web technology stack: Channel 9 intro video

BTW: The API has an interesting level of abstraction, where you can manage groups of clients, nice support for different initial stages of authentication, etc. The only thing that seems to me is that binary serialization is not supported, at least out of the box.

+1
source

All Articles