Wednesday, October 9, 2013

.Net 4.5 WebSocket Server Running on Windows 7? - Stack Overflow

.Net 4.5 WebSocket Server Running on Windows 7? - Stack Overflow:

'via Blog this'

Did you know you can't use the .NET WebSocket's in Windows 7?

using System.Net.WebSockets;
...
ClientWebSocket _webSocket = new ClientWebSocket();

This throws a big whopping PlatformNotSupportedException.

What  load of crap. Now I need a WebSocket client implementation for Windows 8 and a separate one for Windows 7. Unbelievable.

EDIT: WebSocket4Net solves this is much easier to use then the .NET implementation.

No comments:

Post a Comment