From b5665b7243ec12d1c9202cff68d6a3ec13be9e34 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Fri, 29 Apr 2016 15:43:45 -0700 Subject: [PATCH] AbstractSocket docs: Document reuseAddr param of Bind() --- docs/user/net/AbstractSocket.dox | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/user/net/AbstractSocket.dox b/docs/user/net/AbstractSocket.dox index 6bcfaad929..5d88f6d916 100644 --- a/docs/user/net/AbstractSocket.dox +++ b/docs/user/net/AbstractSocket.dox @@ -6,8 +6,8 @@ * Adrien Destugues, pulkomandy@pulkomandy.tk * * Corresponds to: - * headers/os/net/AbstractSocket.h rev 43302 - * src/kits/network/libnetapi/AbstractSocket.cpp rev 43302 + * headers/os/net/AbstractSocket.h hrev50265 + * src/kits/network/libnetapi/AbstractSocket.cpp hrev50265 */ /*! @@ -161,12 +161,14 @@ */ /*! - \fn status_t BAbstractSocket::Bind(const BNetworkAddress& local, int type) + \fn status_t BAbstractSocket::Bind(const BNetworkAddress& local, + bool reuseAddr, int type) \brief binds the socket to the given address If the socket was already bound, the previous binding is removed. \param local the local address to bind + \param reuseAddr if \c true, non-zero requests reuse \a local address \param type the socket type \return B_OK on success, other error codes on error. */