Added missing code to readme

This commit is contained in:
Cloaked9000 2016-12-12 14:33:36 +00:00 committed by GitHub
parent 91921867fa
commit bbd6ee071b

View File

@ -179,8 +179,7 @@ std::vector<std::unique_ptr<fr::TcpSocket>> clients;
selector.add(listener); selector.add(listener);
//Infinitely loop, waiting for connections or data //Infinitely loop, waiting for connections or data
while(selector. while(selector.wait()))
))
{ {
//If the listener is ready, that means we've got a new connection //If the listener is ready, that means we've got a new connection
if(selector.is_ready(listener)) if(selector.is_ready(listener))