I want to have some real time communication system in my project, is there a way I can run a server for socket.io in a cannister or some other way to use websockets on the IC? Thank you.
Here an answer to the same question from @rudi that is more up-to-date:
we have just released our WebSockets proof-of-concept that showcases one way of enabling WebSockets and therefore “almost” real-time communication. You can find all the information in the following thread:
Thank you for the update, studying it.
Hi @rbirkner Did you try to run your implementation of the gateway socket on a hosted service?
We recently tried a web-socket implementation in javascript to speak to a canister for data transmission. We had success locally, however when trying to run on mainnet we ran into port issues.
Some of the port assignments we tried included port 80, 443/tcp and defined application ports 44389, 3001, we ran into issues with port 3000.
Do you know from your work if there was specific port assignments that needed to implemented to run on mainnet? Your help would greatly be appreciated.
Just tagging @ilbert ans @massimoalbarello as they are the ones maintaining web sockets nowadays.