Solved

TIdTcpServer and TIdThreadMgrPool

Posted on 2004-04-30
4
823 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

679 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