I am trying to work with the poco library. I started with an example tcpserver. I need to display all active connections, but I did not find the required method in the library classes. how can display all active connections?
Asked
Active
Viewed 126 times
1
-
1You can call `currentConnections` to get the number of current connections, but I am guessing you would like the details. – Okkenator Apr 02 '21 at 11:10
1 Answers
0
This is not currently part of the TCPServer
class.
You could request an enhancement here https://github.com/pocoproject/poco/issues to TCPServer
to add a way to access the connection objects.
Or you could define your own factory like TCPServerConnectionFactory
to do it in a derived factory.

Okkenator
- 1,654
- 1
- 15
- 27