Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Calling sf::SocketSelector::Add twice on the same socket
Print
Pages: [
1
]
Author
Topic: Calling sf::SocketSelector::Add twice on the same socket (Read 2613 times)
0 Members and 1 Guest are viewing this topic.
Wizzard
Full Member
Posts: 213
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
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
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
Calling sf::SocketSelector::Add twice on the same socket