[DUG] Indy Sockets - How to Receive Asynchronously
Ross Levis
ross at stationplaylist.com
Fri Dec 12 13:25:25 NZDT 2008
I would be interested as well as I currently use Indy to connect to an FTP
server, upload a fil,e and disconnect roughly every 4 minutes. I do this in
a thread with every possible exception taken care of, but for some users,
the PUT procedure hangs occasionally and never returns, even with timeout
settings, and it seems to occur when the internet is slow and unreliable.
I have had to resort to code which checks if the thread is taking too long
and then freeing the TIdFTP instance from my main thread and forcefully
terminating it, and starting another one.
Ross.
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Leigh Wanstead
Sent: Thursday, 11 December 2008 1:46 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Indy Sockets - How to Receive Asynchronously
Hi Paul,
May I ask if ICS can handle un reliable interterm connection robust enough?
i.e. FTP connection drop frequently etc
TIA
Have a nice day
Regards
Leigh
-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]On
Behalf Of Paul
Sent: Thursday, 4 December 2008 9:53 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Indy Sockets - How to Receive Asynchronously
----- Original Message -----
From: Eric A
To: Delphi UsersGroup
Sent: Wednesday, December 03, 2008 9:31 PM
Subject: Re: [DUG] Indy Sockets - How to Receive Asynchronously
>Paul,
>
>I'll take a look at that site. Are you using ICS extensively?
Yes, I am.
I write all my servers and client software with it.
It's very stable and fast
V7 works with D2009 with lot's of demo's
If you have questions, subscribe to the twsocket list (twsocket at elists.org)
You'll get good support there
Indy isn't bad either, but blocking only.
With ICS, a server can handle hundreds of connections in a single thread and
very fast.
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20081212/0fc58303/attachment-0001.html
More information about the Delphi
mailing list