aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSeudin Kasumovic <[email protected]>2018-05-04 21:10:44 +0200
committerLoïc Hoguin <[email protected]>2018-05-15 13:55:15 +0200
commit0cbdd2fc95e58b197909e313748d0870c05a8da7 (patch)
treee081868e3b3e756fdf4e4bcc23d462fd30e6a519 /doc
parent6d5710c509548dfe0965d3c279b119978a3fc19d (diff)
downloadgun-0cbdd2fc95e58b197909e313748d0870c05a8da7.tar.gz
gun-0cbdd2fc95e58b197909e313748d0870c05a8da7.tar.bz2
gun-0cbdd2fc95e58b197909e313748d0870c05a8da7.zip
Allow IP tuple for host #152
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/gun.asciidoc2
1 files changed, 1 insertions, 1 deletions
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.