socialwifi / RouterOS-api

Python API to RouterBoard devices produced by MikroTik.
MIT License
258 stars 98 forks source link

support connecting via IPv6 as well #88

Closed jktjkt closed 1 year ago

jktjkt commented 1 year ago

There's no need to arbitrarily pick IPv4 connections over IPv6 ones. Fortunately, the Python socket API has a convenience function which takes care of that and setting the timeout as a nice bonus.

fixes #80, #86