feschber / lan-mouse

mouse & keyboard sharing via LAN
GNU General Public License v3.0
2.63k stars 85 forks source link

IPv6 support: Address family not supported by protocol (os error 97) #201

Open schanur opened 2 months ago

schanur commented 2 months ago

Hi,

I am having problems using lan-mouse in a IPv6 only network. This is the console input/response:

lan-mouse > connect right 2001:9e8:cd7:2b00:8e16:45ff:fe5e:c922 4242 [2024-09-16T13:18:44Z INFO lan_mouse::server] added client 0 [2024-09-16T13:18:44Z INFO lan_mouse::dns] resolving (0) 2001:9e8:cd7:2b00:8e16:45ff:fe5e:c922 ... [2024-09-16T13:18:44Z INFO lan_mouse::dns] 2001:9e8:cd7:2b00:8e16:45ff:fe5e:c922: adding ip 2001:9e8:cd7:2b00:8e16:45ff:fe5e:c922 client 0: hostname updated ("" -> 2001:9e8:cd7:2b00:8e16:45ff:fe5e:c922) lan-mouse > lan-mouse > lan-mouse > [2024-09-16T13:18:50Z WARN lan_mouse::server::network_task] udp send failed: network error: Address family not supported by protocol (os error 97) [2024-09-16T13:18:50Z WARN lan_mouse::server::ping_task] client not responding, releasing pointer!

feschber commented 2 months ago

That's interesting, technically there should not be anything preventing you from using ipv6. I'll have to look into that.