From 9ad32386c00b73bd3af2afa90c8e52469fdaad30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 17 Apr 2011 23:57:30 +0200 Subject: Use the inet:ip_address() type instead of the user-defined one. --- include/types.hrl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/types.hrl') diff --git a/include/types.hrl b/include/types.hrl index bdd4c5f..5938f0e 100644 --- a/include/types.hrl +++ b/include/types.hrl @@ -18,10 +18,6 @@ -type posix() :: atom(). -opaque socket() :: term(). -opaque sslsocket() :: term(). --type ipv4_address() :: {0..255, 0..255, 0..255, 0..255}. --type ipv6_address() :: {0..65535, 0..65535, 0..65535, 0..65535, - 0..65535, 0..65535, 0..65535, 0..65535}. --type ip_address() :: ipv4_address() | ipv6_address(). -type port_number() :: 0..65535. -type bindings() :: list({Key::atom(), Value::string()}). -- cgit v1.2.3