> How can I get to this list? Is there a way to make a list of these sockets that connected to the tcp server socket, so that we can send a packets back through it?
You can create your own server (inherit from TCPServerConnection)
with its own connection factory (inherit from TCPServerConnectionFactory). The place where you'll receive the sockets from the framework is
- Code: Select all
YourConnectionFactory::createConnection(const StreamSocket&)
That is your place to build a list of them.
HTH
Alex
P.S. I believe you have logged in using your email as username so it shows in the forum now. I'm guessing you did not want that to happen. I believe if I edit your entry it will replace your username with mine, so let me know if you want me to do it. Otherwise, I guess someone from appinf should change the entry directly in the db (I was not able to find the way using Tiki options).