From: Michal 'vorner' Vaner Date: Thu, 26 Jan 2012 15:47:42 +0000 (+0100) Subject: [1542] Documentation update X-Git-Tag: trac2351_base~273^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4cc4325aaef9d57ecfe39e7cda0cac83773980b;p=thirdparty%2Fkea.git [1542] Documentation update --- diff --git a/src/lib/server_common/socket_request.h b/src/lib/server_common/socket_request.h index ea22fa6036..7f513b8716 100644 --- a/src/lib/server_common/socket_request.h +++ b/src/lib/server_common/socket_request.h @@ -169,11 +169,13 @@ public: /// \throw InvalidParameter protocol or share_mode is invalid /// \throw CCSessionError when we have a problem talking over the CC /// session. - /// \throw SocketError in case the other side doesn't want to give us - /// the socket for some reason (common cases are when the socket - /// can't be allocated or bound, or when the socket is claimed by - /// some other application and the sharing parameters don't allow - /// sharing it). + /// \throw SocketError in case we have some other problems receiving the + /// socket (eg. inconsistency in the protocol, the socket got stuck + /// in the transport, etc). If the exception is not of the following + /// derived ones, it usualy means something serious happened. + /// \throw SocketAllocateError if the other side can't create the socket. + /// \throw ShareError if the socket is used by other bind10 module and + /// that one doesn't want to share it with us. virtual SocketID requestSocket(Protocol protocol, const std::string& address, uint16_t port, ShareMode share_mode,