Skip to content

Commit

Permalink
AbstractSocket docs: Document reuseAddr param of Bind()
Browse files Browse the repository at this point in the history
  • Loading branch information
jscipione committed Apr 29, 2016
1 parent 65d0cbf commit b5665b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/user/net/AbstractSocket.dox
Expand Up @@ -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
*/

/*!
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit b5665b7

Please sign in to comment.