AbstractSocket docs: Document reuseAddr param of Bind()

This commit is contained in:
John Scipione
2016-04-29 15:43:45 -07:00
parent 65d0cbfdaf
commit b5665b7243
+5 -3
View File
@@ -6,8 +6,8 @@
* Adrien Destugues, [email protected]
*
* 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.
*/