Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

TIdTcpServer and TIdThreadMgrPool

Posted on 2004-04-30
4
822 Views
Last Modified: 2007-12-19
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
0
Comment
Question by:dosware
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 10958956

   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
 

Author Comment

by:dosware
ID: 10958978
I saw it many times, I need real example.

There is only very simple examples.
0
 
LVL 12

Accepted Solution

by:
Ivanov_G earned 250 total points
ID: 10971575

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

Author Comment

by:dosware
ID: 10976357
Dear Sir,

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

Thanks for your reply.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 327
Internet Explorer View Settings Question 15 116
creating threads in delphi 1 135
Adoquery sql  left join does not work 25 99
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question