Posted 19 November 2016 - 04:55 AM
I'm trying to make a program to take advantage of the fact that multiple computers can have the same ID and same hard drive. But it's not quite working.
What I expect to happen is I push a button, the event is saved to the hard drive (along with a bit of metadata to prevent infinite events), that change is picked up with .readLine(), and the event is queued. But it doesn't work most of the time. I would hold a letter for five seconds, and only two or three letters would show up on the other end.
The structure is sort of like client/server. Run 'syncro' on server, and for the client, hold 'Home' directly after running (0.5 second window of time)
Can someone help me get this functional?
http://pastebin.com/yGQWBTve
What I expect to happen is I push a button, the event is saved to the hard drive (along with a bit of metadata to prevent infinite events), that change is picked up with .readLine(), and the event is queued. But it doesn't work most of the time. I would hold a letter for five seconds, and only two or three letters would show up on the other end.
The structure is sort of like client/server. Run 'syncro' on server, and for the client, hold 'Home' directly after running (0.5 second window of time)
Can someone help me get this functional?
http://pastebin.com/yGQWBTve