dantay9 Posted July 7, 2009 Share Posted July 7, 2009 (edited) I am trying to make a simple program that can control a remote computer's mouse. I have that Screen Capture events working correctly, but, on the computer sending their screen, I don't think I can use TCPRecv to get mouse events from the computer receiving the screen. I want the Screen Capture to be continuous, so adlib enable, right? But the TCPRecv functions will interfere with each other. I know this could be done with two more programs, one on each computer, but is there a way to include these mouse events in the same script? I hope I made this clear enough. Edit: I guess I could also open up two sockets in each program, but that is more work. Is that my only other option? Edited July 7, 2009 by dantay9 Link to comment Share on other sites More sharing options...
dantay9 Posted July 7, 2009 Author Share Posted July 7, 2009 Since nobody has answered, I guess opening up two ports is the best way to keep the script in a single executable. I will use two ports. Link to comment Share on other sites More sharing options...
Skruge Posted July 7, 2009 Share Posted July 7, 2009 I am trying to make a simple program that can control a remote computer's mouse. I have that Screen Capture events working correctly, but, on the computer sending their screen, I don't think I can use TCPRecv to get mouse events from the computer receiving the screen. I want the Screen Capture to be continuous, so adlib enable, right? But the TCPRecv functions will interfere with each other. I know this could be done with two more programs, one on each computer, but is there a way to include these mouse events in the same script? I hope I made this clear enough.Edit: I guess I could also open up two sockets in each program, but that is more work. Is that my only other option?"more work" depends on what you already have. It can be done with one socket if you format the data consistently. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
dantay9 Posted July 7, 2009 Author Share Posted July 7, 2009 Yeah, I know it can be done with one socket, but since I am sending an image about once a second and I also need room for mouse events, I don't think my computer will be fast enough. My computer only runs at 2.1 Ghz. Link to comment Share on other sites More sharing options...
dantay9 Posted July 8, 2009 Author Share Posted July 8, 2009 Is it not possible to send this in binary without saving it to the hard drive??? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now