README.md

# InetAton

Converts the IP address from the IPv4 numbers-and-dots notation into a "hostlong" in network byte order.

This is an elixir port of an [erlang inet_aton snippet](https://gist.github.com/marcelog/8b5fe7d3aaa83eca2d0f) made available as a package.

## Installation

This package can be installed
by adding `inet_aton` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:inet_aton, "~> 0.1.0"}
  ]
end
```

## Usage

```elixir
require InetAton

InetAton.convert("127.0.0.1")  # 2130706433
```