支持XP系统的WebSocket4Net版本,已修改源码和BUG,项目在用,非常简单,引用DLL后,写法如下:
WebSocket websocket = new WebSocket(url);
websocket.MessageReceived += Websocket_MessageReceived;
websocket.DataReceived += Websocket_DataReceived;
websocket.Opened += Websocket_Opened;
websocket.Closed += Websocket_Closed;
websocket.Error += Websocket_Error;
1