From 0cbdd2fc95e58b197909e313748d0870c05a8da7 Mon Sep 17 00:00:00 2001 From: Seudin Kasumovic Date: Fri, 4 May 2018 21:10:44 +0200 Subject: Allow IP tuple for host #152 --- doc/src/manual/gun.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc index 0c6dd08..98fbabe 100644 --- a/doc/src/manual/gun.asciidoc +++ b/doc/src/manual/gun.asciidoc @@ -235,7 +235,7 @@ Alias of `gun:open/3`. === open(Host, Port, Opts) -> {ok, ConnPid} | {error, Reason} -Host = inet:hostname():: Host to connect to. +Host = inet:hostname() | inet:ipaddress():: Host or IP to connect to. Port = inet:port_number():: Port to connect to. Opts = opts():: Options for this connection. ConnPid = pid():: The pid of the Gun connection process. -- cgit v1.2.3