[erlang-questions] [ANN] inet64_tcp: make the old stuff work in IPv6-only networks
Thu Jul 30 17:35:53 CEST 2015
Forgot to add the link: https://github.com/yandex/inet64_tcp
On Thu, Jul 30, 2015 at 6:33 PM, Danil Zagoskin <z@REDACTED> wrote:
> If you need to run random TCP applications in IPv6-only network you
> usually have to add inet6 option to the gen_tcp:connect or gen_tcp:listen
> This has some drawbacks:
> * If you edit a third-party code (e.g. database driver), you have to
> fork the entire project
> * You have to apply this fix to many places.
> * Simple fix breaks IPv4-only connectivity
> With inet64_tcp you can just add a dependency for your application, and
> this gen_tcp backend will automatically discover IPv4 and IPv6 addresses
> for a given hostname on connect.
> Also listening with default options will listen IPv6 too.
> Danil Zagoskin | z@REDACTED
Danil Zagoskin | z@REDACTED
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions