Hello, I try to write this program. This program will send mouse x y to other PC .I use mouse_event API and SetCursorPos to move cursor but I have a problem

mouse_event is very slowly
SetCursorPos is not smooth

Please help me to fix that problem.

Thank you