Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Indy ftp client freezes

www.cryer.info
Managed Newsgroup Archive

Re: Indy ftp client freezes

Subject:Re: Indy ftp client freezes
Posted by:"Jamie Dale" (j.da..@turboz.net)
Date:Fri, 2 Jun 2006 23:06:15

>> How can that be done then?
>
> Just do it

Remy you never cease to amaze me. I ask how it can be done and you (instead
of telling me how) tell me to "Just do it".
Thats great, I really admire it.

>.  Instantiate the desired component in the thread, or instantiate
> it in the main thread and pass it to the thread, and then use it like you
> normally would.  What exactly are you having a problem with?

My problem is engaging the warp drive and flushing the chain reactors while
recharging the onboard phasers at the same time.

>> I've been hunting for a way around using Antifreeze for a long time
>> and never found one.
>
> Then you never learned what Indy is all about to begin with.  Threads are
> the way to go for blocking sockets.  Indy is specifically designed with
> threads in mind.

No, Indy is the learners way of making TCP/IP applications quickly and
easily - Remember, Delphi is a RAD environment and Indy is a RAD
tool/component. Yes I agree that Indy is thread based etc but it's not a
college study course is it - It's a drop n go component.

>
>> Can you give an example please?
>
> Go to http://www.deja.com and search through the newsgroup archives.
> Sample
> code has been posted many many times before.

Best piece of advice yet! - I'll check it out! - Thanks!

>
> (I've never done thread work before so be gentle lol).
>
> Then I strongly suggest that you learning how to work with threads in
> general before jumping in to Indy's support for them.  Delphi ships
> threading examples available.

Like I said, I'll check the link.

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive