I have a Web App (PHP + Javascript) and a Desktop App (.NET C#).
Sometimes I need my applications to communicate in a bidirectional way, where web app send a information to desktop, the desktop processes the information and returns to webapp.
I'm in doubt between two solutions:
1 - Use a table in database - Web app --> DB <-- Desktop app I was thinking of using a 5 or 10 second loop.
2 - Socket.io I can use this with node.js.
What is the best way? Or What other solutions can I be using?
Thanks!! and stay home!