Air-Mouse
Air-Mouse copied to clipboard
use socket to get host ip
To make sure everyone (and even you when your ip will change) can use this app you can use socket to get the host ip.
hostname=socket.gethostname()
ip_address=socket.gethostbyname(hostname)
https://github.com/the-vishal/Air-Mouse/blob/30d4d1f47171243953a242ad080e9de11958ac56/Air_Mouse.py#L7