Solved

TIdTcpServer and TIdThreadMgrPool

Posted on 2004-04-30
4
815 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
Comment Utility

   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
Comment Utility
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
Comment Utility

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

Author Comment

by:dosware
Comment Utility
Dear Sir,

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

Thanks for your reply.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PDF library for Delphi 2 89
Making delphi communicate with a c# service 16 69
Working with hours 3 31
creating threads in delphi 1 52
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now