mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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:
parent
cb097ff8d8
commit
e2c4bca779
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user