bonifaido / rust-zookeeper

Pure Rust library for Apache ZooKeeper built on MIO
MIT License
206 stars 46 forks source link

Connecting to ipv6 fails on Windows 10 #68

Open krojew opened 4 years ago

krojew commented 4 years ago

When trying to connect to a zk server using a ipv6 address, the connection fails with Failed to read socket: Os { code: 10049, kind: AddrNotAvailable.

bonifaido commented 4 years ago

Sorry, I don't have a Windows machine nearby, but I'm happy reviewing a PR with a fix!