Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Idea for Indy
| Subject: | Re: Idea for Indy |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Wed, 7 Jun 2006 20:14:28 |
"David Hooker" <david.d.hooker@gmail.com> wrote in message
news:44879402$1@newsgroups.borland.com...
> Have indy take a signal object (TEvent handle) and abort blocking
> IO if the signal is set (as in, WaitForMultipleObjects (socket receives
> some data *OR* user's signal is set)).
Not going to happen. Indy is a cross-platform library. Those objects and
operations, on the other hand, are not cross-platform.
> I want to be able to abort the IO without closing the socket.
There is no way to do that with Indy. You must close the socket.
> Another idea is to have indy set the signal when the IO is done,
> to allow indy to be used in the same way as overlapped IO?
Indy does not support overlapped I/O operations, not will it anytime soon.
Gambit
none