SFML community forums

Help => Network => Topic started by: Wizzard on April 12, 2011, 03:30:24 am

Title: Calling sf::SocketSelector::Add twice on the same socket
Post by: Wizzard on April 12, 2011, 03:30:24 am
Will calling sf::SocketSelector::Add twice on the same socket add the socket twice or add it once?
Title: Calling sf::SocketSelector::Add twice on the same socket
Post by: Laurent on April 12, 2011, 07:42:23 am
As far as I remember, it should be added only once. But anyway, don't rely on a platform-specific implementation detail, just avoid doing it ;)