This project is read-only.

bug / patch: SocketIOClient.Client.Connect

Dec 7, 2012 at 9:09 AM

hello

it turned out, when constructing websocket transport, 'query' part of original uri is forgotten, depending on server-side implementation of application, leads to reconnect.

 

patch:

 

this.wsClient = new WebSocket( string.Format("{0}://{1}:{2}/socket.io/1/websocket/{3}{4}", wsScheme, uri.Host, uri.Port, this.HandShake.SID, uri.Query), string.Empty, this.socketVersion);

Coordinator
Dec 8, 2012 at 3:15 AM

Thanks for finding - I have the changes committed locally already, and will push those out to the development branch as I wrap up a few other changes and samples.

Issues w/code fixes attached, awesome!

Thanks again,

Jim