Implement socket.io in electron app which communicates to a local webserver
17,904
Just go through this tutorial. Start from simple web. When you make it work - port it to electron.
Author by
Aakash Uniyal
*** some cliche 'about me' of how i like to code and all ***
Updated on July 12, 2022Comments
-
Aakash Uniyal almost 2 years
I have to make the locally running web server communicate with the locally running windows electron app in order to send some messages which the electron app would show it up as notifications .
I have seen people recommending socket.io for Real time communication between the client and the server but i am finding it hard to wrap my head around it as there are no examples which i can look into to see how it actually works .
Any sources and explanations for this topic are welcome .
-
Aakash Uniyal almost 7 yearsThis is very helpful. Thanks .
-
AgentLog over 5 yearsHow to port it to electron?
-
lacy almost 5 yearsjavascript woo :)