SFML community forums
Help => Network => Topic started by: Morgaza on December 12, 2012, 10:30:36 pm
-
Hello,
I have a question about the function wait() for the SocketSelector.
Is it possible to use this function without a Timeout, and if so, how?
So far I have only managed to use this function using sf::microseconds(1), but I wonder if it is possible to have no Timeout.
Thanks in advance.
-
There's no point to use a selector without a timeout, just set all your sockets to non-blocking.
-
That cleared it all up for me, thanks.