The title pretty muchs sums it up... I am wondering if there is a way to use socket.io without node.js
-
2Wrong question: what are you trying to do? Because maybe socket.io isn't even the right tool for the job and standard websockets without the 1.5Mb of socket.io on top is plenty.Mike 'Pomax' Kamermans– Mike 'Pomax' Kamermans2019-08-28 21:57:37 +00:00Commented Aug 28, 2019 at 21:57
-
Could you be more specific about what you're trying to do? Is your server using a language other than Javascript?quicklikerabbit– quicklikerabbit2019-08-28 22:02:43 +00:00Commented Aug 28, 2019 at 22:02
1 Answer
socket.io is a library that connects a browser web pages to some server somewhere. There MUST be a socket.io server somewhere that does what you want that you can connect to.
That socket.io server does not have to be written using node.js. There is socket.io support for other languages or environments. The protocol and data format is fully documented so implementations can be written for any environment. For example, here's a socket.io server implementation in C++.
You can look on github for various server implementations: https://github.com/search?q=socket.io+server.