> -----Original Message-----
> On Behalf Of Wilfried Mestdagh
> Sent: 13 May 2008 19:34
> To: ICS support mailing
> Subject: Re: [twsocket] TWSocket.Send timing
> Hello Andy,
> > I am logging the time before and after a call to Send. I am sending
> 60 bytes,
> > and the Send call is taking 300ms to complete.
> this is the nagle algoritm. nagle wait a little while to see if you
> want
> to send more. this is to fill up a complete packet of 1514 (?) bytes.
> You can speed it up by setting wsoTcpNoDelay in ComponentOptions in
> both
> ends, but this can slow down network performance. See MSDN at Microsoft
> are many articles discussing it.
> ---
> Rgds, Wilfried [TeamICS]

I thought the Nagle algorithm would only apply to the speed at which the
underlying Winsock socket sends the data.  As far as I know it shouldn't
cause the TWSocket send call to take longer since that is asynchronous isn't
it?  Please correct me if I'm wrong.


To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to