Air-Mouse icon indicating copy to clipboard operation
Air-Mouse copied to clipboard

use socket to get host ip

Open yechielb2000 opened this issue 1 year ago • 0 comments

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

yechielb2000 avatar Apr 02 '23 16:04 yechielb2000