TIdTcpServer and TIdThreadMgrPool

Hello All,

Can somebody tell me should I use always TIdThreadMgr with TIdTcpServer?

I need simple example for correct using of it becuase sometimes when I try to disconnect server but it has some active connections it takes me error: Terminate Thread Timeout... But I does not have this error without TIdThreadMgr...

TIdTcpServer should work with unlimited connection at same time... I.e. I need to do it in the threads.

Thanks
doswareAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Ivanov_GConnect With a Mentor Commented:

   You have to disconnect all clients before disconnecting the server ...
0
 
Ivanov_GCommented:

   download Indy demos. there is example about this.
   You can find the example here :

   http://www.nevrona.com/indy/demodownloads/I9D6_Demos_24Nov02.zip  

   The size is 1,553KB.
0
 
doswareAuthor Commented:
I saw it many times, I need real example.

There is only very simple examples.
0
 
doswareAuthor Commented:
Dear Sir,

Please tell me, do I need to do it also for TIdThreadMgrDefault?

Thanks for your reply.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.