kazu-yamamoto/iproute — Issue #3: Impossible to encode `IP` to bytes.
Author: yihuang
Created: 2011-10-22 19:29:44+00:00
State: open

Thank for you library, i'm work on dns library which use `IP` type, dns protocol use bytes to represent ip address. In order to encode ip address to binary protocol, i need a function to convert `IP` to `[Int]` or something similar.

Maybe we can expose the constructors `IPv4` and `IPv6`, that would solve the problem.

Best regards.