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.

Share:
17,904
Aakash Uniyal
Author by

Aakash Uniyal

*** some cliche 'about me' of how i like to code and all ***

Updated on July 12, 2022

Comments

  • Aakash Uniyal
    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
    Aakash Uniyal almost 7 years
    This is very helpful. Thanks .
  • AgentLog
    AgentLog over 5 years
    How to port it to electron?
  • lacy
    lacy almost 5 years
    javascript woo :)