Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Looping through clients with TCP selector
Print
Pages: [
1
]
Author
Topic: Looping through clients with TCP selector (Read 2225 times)
0 Members and 1 Guest are viewing this topic.
Linuxxon
Newbie
Posts: 10
Looping through clients with TCP selector
«
on:
March 26, 2012, 10:12:12 am »
Can't find anything on how to loop through a tcp selector without them having to send packets to make the socket ready.
I want to be able to send packets to them...
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Looping through clients with TCP selector
«
Reply #1 on:
March 26, 2012, 10:31:37 am »
A selector is not a container of sockets, if you want to have a list of all your active sockets you must have your own container.
Logged
Laurent Gomila - SFML developer
Linuxxon
Newbie
Posts: 10
Re: Looping through clients with TCP selector
«
Reply #2 on:
March 26, 2012, 01:52:00 pm »
Okay, then it makes sense that I didn't find anything (:
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
Looping through clients with TCP selector