mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fixed typo in documentation of sf::TcpListener
This commit is contained in:
parent
f5294d5342
commit
3f22fbb978
@ -147,7 +147,7 @@ public :
|
|||||||
/// while (running)
|
/// while (running)
|
||||||
/// {
|
/// {
|
||||||
/// sf::TcpSocket client;
|
/// sf::TcpSocket client;
|
||||||
/// if (listener.accept(client) == sf::Socket::Done)
|
/// if (listener.Accept(client) == sf::Socket::Done)
|
||||||
/// {
|
/// {
|
||||||
/// // A new client just connected!
|
/// // A new client just connected!
|
||||||
/// std::cout << "New connection received from " << client.GetRemoteAddress() << std::endl;
|
/// std::cout << "New connection received from " << client.GetRemoteAddress() << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user