I am trying to use a camera connected to my raspberry pi to detect certain events (this part i have already written and it works). But what i want to happen next is for the raspberry pi to call a program on another PC which is running windows. I was thinking of using a usb and writing an interrupt service routine etc. The code has to work real-time.
I have not done any low level system programming since i took an OS course in my undergrad a brazillion years ago, so if there are any suggestions please let me know.
In case i was not clear:
Program (1) runs on rp3 and it waits to detect some event X
program (2) runs on another pc running windows and gets triggered by the rp3 somehow, when the even X is observed
My question is regarding how to connect program (1) to program (2), i.e., how does (1) inform (2) in a real-time manner (dont want to go in the route of using server client mechanism via HTTP/Apache or other IP based approaches, the response has to be immediate)
Thank you so much!