TClientSocket Collection (index)

Posted on 2004-11-26
Medium Priority
Last Modified: 2010-04-05
Hey I need some help figreing out how to make a collection of sockets or index as u call it in vb in vb u can index ur winsock well tahst what i wanna do here in delphi but i know there is no index so i have to make a collection of sockets any help on how? thanks
Question by:_Reaper_
1 Comment

Accepted Solution

ceoworks earned 375 total points
ID: 12686137
Which component set are you using ? If it's Indy, you can find some usefull examples from the Indy's official demos http://www.projectindy.org/DemoDownloads/Indy9Demos_26Oct04.zip As i remember "Chat" demo provides something like that. Indy is not including something like "socket index". There is an Indy component which called TIdTCPServer, which is including a thread list for incoming connections. But if you are talking about to have a list of outgoing connections(i mean clients), there is no easy way to do it with Indy. You should implement it by yourself. With using TList or it's descendants.


Oktay Sancak

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

840 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