Comments (5)
Not sure. I've only tested this library with wss://echo.websocket.org (Echo Test) and this seeems to work according to the Websocket specification.
If you want to help you can either download the code here and try and debug it youself or you can point me to a running server that uses SocketIO somewhere on the internet and I'll have a look at the debugging myself?
from websocketclientlite.pcl.
So I looked into it some more and my understanding is that a WebSocket Client can't really talk to a Socket.IO server. See this Stack Overflow post: Connect to Socket.io server with standard web-socket client
I also tried installing a SocketIO Server from this example: Get Started: Chat application and what fails is that when the Websocket library tries to connect to the Socket IO server, the Socket IO Server does not seem to reply. The stream I see coming back is zero bytes and the connection then times out.
Does this answer your question?
from websocketclientlite.pcl.
Well... your library kind of works, as well as WebSockets-sharp.
What URI did you use?
You'll need something like this: ws://127.0.0.1:1338/socket.io/?EIO=2&transport=websocket
Can you try against 0.3.2 from here: http://easel.inventables.com/downloads.
You will need *:*
added to origins in iris.js for yourself to connect.
(Not sure if origin is part of WS spec, but it would definitely help.)
Before you run node iris.js
give yourself some debug: set DEBUG=*,-not_this
/chris
from websocketclientlite.pcl.
Thank you. That was very helpful.
I tracked now some odd behavior related to the handshake. For some reason this issue does not present itself when using the echo.websocket.org test server but it does surface when connecting to a Socket IO server.
I've released a 3.6.1-beta NuGet version that should have fixed the issue. Please test and confirm?
from websocketclientlite.pcl.
I pulled the source, works good!
Thanks.
from websocketclientlite.pcl.
Related Issues (20)
- Allow setting HTTP headers for handshake. HOT 1
- Subsequent connections from same client instance fail. HOT 2
- CancellationToken in develop branch HOT 7
- ConnectionTimeout - Slack HOT 24
- Message Size greater than 126 Characters HOT 3
- Disconnecting from server causes exception HOT 4
- TLS Cipher Suite HOT 2
- The BeginWrite method cannot be called when another write operation is pending HOT 6
- Unable to be portable due to System.Reactive.Windows.Threading HOT 2
- Ignore invalid ssl cert fails HOT 2
- Visual Studio 2015 Update 3 with Xamarin HOT 3
- Cannot install nuget package for 4.1.2 in .NET Standard 2.0 project in VS 2017 HOT 1
- Sec-WebSocket-Protocol is aggregated wrong HOT 1
- Doesn't connect with proxy HOT 2
- CreateObservableMessageReceiver TimeOut HOT 1
- Could not load file or assembly ISocketLite.PCL Version=4.2.1.0 HOT 1
- Question : WebsocketClientLite versus the Microsoft client for performance HOT 1
- NuGet package versions 7.0.0 and 7.0.1 actually contain version 6.4.0 HOT 2
- Feature request: Transfer ownership of TcpClient to WebsocketClientLite library HOT 4
- IsConnected always true. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocketclientlite.pcl.