Re: low level local networking
- From: "Bart van der Werf" <bluelive@xxxxxxxxx>
- Date: Thu, 15 Jun 2006 11:09:05 +0200
"Alan Garny" <someone@xxxxxxxxxxxxx> wrote in message
news:44911a6b@xxxxxxxxxxxxxxxxxxxxxxxxx
"Bart van der Werf" <bluelive@xxxxxxxxx> wrote in message
news:44911085$1@xxxxxxxxxxxxxxxxxxxxxxxxx
"Roddy Pratt" <roddy at spam fritter dot com> wrote in message
news:449093d4$1@xxxxxxxxxxxxxxxxxxxxxxxxx
"Alan Garny" <someone@xxxxxxxxxxxxx> wrote in message
news:4490401f@xxxxxxxxxxxxxxxxxxxxxxxxx
"Bart van der Werf" <bluelive@xxxxxxxxx> wrote in message
news:44903576@xxxxxxxxxxxxxxxxxxxxxxxxx
if you choose tcp/ip don't use indy but go directly to winsock btw.
Why is that?
I have no idea. There's absolutely nothing wrong with Indy for most
real-time apps.
And don't optimise before you know you need to....
We noticed some problems with indy9 which we use.
some timeouts don't work
connecting a tcp socket uses a thread for connecting which sleeps a large
amount of time causing it too take 200ms minimum and a few more issues,
among which not compiling without warnings on d2006.
Have you tried to upgrade to Indy10?
I took a brief attempt which soon abandonned because the api is very much
different.
With our own workarounds for indy9 its usable, altough not really fast. If i
had to put in the time to change it to another api i'd go for winsock atm.
Ow one important one i missed:
Writing a large buffers causes it to do some stupid things.
TIdTCPConnection.WriteBuffer behaves badly if you supply it large amounts of
data at once, my workaround was to call it in a loop with 4k chunks of what
we wanted to send.
grt, Bart
.
- References:
- low level local networking
- From: Sebastian Ledesma [Solidyne Labs]
- Re: low level local networking
- From: Bart van der Werf
- Re: low level local networking
- From: Alan Garny
- Re: low level local networking
- From: Roddy Pratt
- Re: low level local networking
- From: Bart van der Werf
- Re: low level local networking
- From: Alan Garny
- low level local networking
- Prev by Date: Re: New Delphi Product Manager
- Next by Date: Re: Please mark hotfixes as multilingual
- Previous by thread: Re: low level local networking
- Next by thread: Re: low level local networking
- Index(es):
Relevant Pages
|