Archived
This forum has been archived. Please start a new discussion on GitHub.
Number of connection in current thread
Dmitriy
in Help Center
How to determinate number of connection in current thread on server?
For example, I use
properties->setProperty("Ice.ThreadPool.Server.Size","10");
14 clients connect to this server
In every thread I must call ::CoInitialize(NULL);
When client disconnect, I whant to know - is another client connect in this thread?
If no - I call ::CoUninitialize();
For example, I use
properties->setProperty("Ice.ThreadPool.Server.Size","10");
14 clients connect to this server
In every thread I must call ::CoInitialize(NULL);
When client disconnect, I whant to know - is another client connect in this thread?
If no - I call ::CoUninitialize();
0
