UdpSocket.hpp typo in comment for void unbind()

Function  void unbind();
The suggested text by @binary1248
Added "If the socket is not bound to a port, this function has no effect."
This commit is contained in:
Dka8 2016-08-01 18:59:39 +03:00 committed by Lukas Dürrenberger
parent cb097ff8d8
commit e2c4bca779

View File

@ -95,9 +95,11 @@ public:
////////////////////////////////////////////////////////////
/// \brief Unbind the socket from the local port to which it is bound
///
/// The port that the socket was previously using is immediately
/// available after this function is called. If the
/// socket is not bound to a port, this function has no effect.
/// The port that the socket was previously bound to is immediately
/// made available to the operating system after this function is called.
/// This means that a subsequent call to bind() will be able to re-bind
/// the port if no other process has done so in the mean time.
/// If the socket is not bound to a port, this function has no effect.
///
/// \see bind
///