diff --git a/include/SFML/Network/TcpListener.hpp b/include/SFML/Network/TcpListener.hpp index e958e1e7..10ca2ce2 100644 --- a/include/SFML/Network/TcpListener.hpp +++ b/include/SFML/Network/TcpListener.hpp @@ -147,7 +147,7 @@ public : /// while (running) /// { /// sf::TcpSocket client; -/// if (listener.accept(client) == sf::Socket::Done) +/// if (listener.Accept(client) == sf::Socket::Done) /// { /// // A new client just connected! /// std::cout << "New connection received from " << client.GetRemoteAddress() << std::endl;