Hi, my current scenario: - A device, send data to Server via TCP only after a fixed time - A Windows Form application for async TCP listener (or acync Socket), receive data from devices and add to database - An web application (ASP.NET) to display data from database
What I want to do now is: User click on a button on website and it will send a message to device.
What I'm trying to do is store the message and after device send data successfully, I'll use that connection to send message and I need the way to send it from my website to Windows Form application. How can I achieve this?
I'm also consider an alternate solution but it's too complex: - TCP connection will not be closed on both side - Store TCP connection in database so website can use it This solution may sound simple from first thought but when I try to do this, a lot of problems happened such as maintain ...

Go to the complete details ...