From b16d29b4ae8aa0e95214d88133c9ccac86bf793c Mon Sep 17 00:00:00 2001 From: Dka8 Date: Mon, 1 Aug 2016 18:59:39 +0300 Subject: [PATCH] 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." --- include/SFML/Network/UdpSocket.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/SFML/Network/UdpSocket.hpp b/include/SFML/Network/UdpSocket.hpp index 20cb7c6fc..86fd1f6bc 100644 --- a/include/SFML/Network/UdpSocket.hpp +++ b/include/SFML/Network/UdpSocket.hpp @@ -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 ///