D
D
Dmitry2015-07-31 11:15:38
JavaScript
Dmitry, 2015-07-31 11:15:38

How to implement mouse emulation in the browser controlled from the server?

There are two clients and a server. I want to make it so that the movement of the mouse on the page in the browser of the first client moves the circles on the page in the browser of the second client. It's basically mouse emulation. How to do it right? It is important that all this be with a minimum delay. I'm thinking of using Ajax or sockets, which would be better? Or is there another better way?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2015-07-31
@koyard

You won't be able to emulate a mouse via ajax, only websockets.

D
Deodatuss, 2015-07-31
@Deodatuss

well, either web sockets or long pooling, both options are good. who is more comfortable. but websockets are more flexible tool

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question