Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implement socket.io in electron app which communicates to a local webserver

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 .

like image 650
Aakash Uniyal Avatar asked May 26 '17 10:05

Aakash Uniyal


1 Answers

Just go through this tutorial. Start from simple web. When you make it work - port it to electron.

like image 166
Lazyexpert Avatar answered Sep 21 '22 23:09

Lazyexpert