From 96f5d8131f1503576ffce2f0b599d3713773da21 Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Wed, 11 Aug 2010 17:58:54 +0100 Subject: [PATCH] Update edoc. --- src/amqp_connection.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/amqp_connection.erl b/src/amqp_connection.erl index b39f6cad..38baea8b 100755 --- a/src/amqp_connection.erl +++ b/src/amqp_connection.erl @@ -222,6 +222,9 @@ close(ConnectionPid, Code, Text) -> %% (only for the network connection) %% heartbeat - returns the heartbeat value negotiated with the server %% (only for the network connection) +%% sock - returns the socket for the network connection (for use with +%% e.g. inet:sockname/1) +%% (only for the network connection) %% any other value - throws an exception info(ConnectionPid, Items) -> gen_server:call(ConnectionPid, {info, Items}, infinity).