I cannot help but feel that I need to answer this, but I am damned if I find it. Part of the problem may be that there are too many client-side discussions for me to see a tree for trees.
In any case, apologies aside, that’s what I want to do. I need a platform-independent server implementation of WebSockets. I would like him to work at NodeJS.
Now, 99% of what I found in this thread is talking about socket.io. But as far as I can tell, these are not WebSockets, this is a special "additional" protocol in itself. I need something that works "by the (not yet) standard." There is a good reason for this, and it is not negotiable, believe me, and just keep the bandwidth :)
So, I tried WebSocket, but it requires (or seems to require both python and, worse, Visual Studio) to work on Windows. I need something platform independent and don't need such special things.
I also tried node -websocket-server, but I can't get this to work at all. The example on the main page is not suitable for me. It seems that he accepts the connection, but the client does not see it, neither side receives anything, and the client immediately sees the connection closed. In fact, all I have ever received is a “callback” callback, and then it seems to die. Running in debug mode did not tell me anything useful, except for some internal error about some object or another that does not have the flush () method. I suspect this is a non-existent project?
So I have no ideas. Is it possible to convince socket.io to work exclusively with (non) spec for WebSockets? Is there a way to make node-websocket-server behave in a way that I could not find. Is there a way around the Visual Studio dependency in websocket, or is there some other NodeJS based tool that meets all my requirements?
Oh, one more thing, I would like the tool to coexist peacefully with “connectivity” as I use this for my regular document.
TIA, Toby
Toby eggitt
source share