Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Calling sf::SocketSelector::Add twice on the same socket  (Read 2616 times)

0 Members and 1 Guest are viewing this topic.

Wizzard

  • Full Member
  • ***
  • Posts: 213
    • View Profile
Calling sf::SocketSelector::Add twice on the same socket
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Calling sf::SocketSelector::Add twice on the same socket
« Reply #1 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 ;)
Laurent Gomila - SFML developer