Hello Francois and Peter,

It is called "nagle" not "naggle". I searched and searching for "naggle" 
confuses google!

Best Regards,

SZ

----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "Delphi-Talk Discussion List" <delphi-talk@elists.org>
Sent: Thursday, March 29, 2007 4:53 PM
Subject: Re: Problem using socket connections


> I'm not a specialist of indy (Since I wrote ICS), but the problem you
> mention may be related to the naggle algorithm. Do a search on Google to
> know more.
>
> Maybe do some testing with ICS :-)
>
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
>
> ----- Original Message ----- 
> From: "Peter Laman" <[EMAIL PROTECTED]>
> To: "Delphi Talk" <Delphi-Talk@elists.org>
> Sent: Thursday, March 29, 2007 2:34 PM
> Subject: Problem using socket connections
>
>
>> Hello,
>>
>> In my app (D6), I use the Indy components TIdTCPClient and TIdTCPServer 
>> to
>> communicate using an application specific protocol. The protocol is
> designed
>> similar to standard internet protocols, using text commands that require
>> text response. With NT, everything used to work OK, but with XP I have a
>> mysterious problem. For some commands the server produces a multiline
>> response. On the server side, for all of these commands, all lines of
> output
>> are correctly generated by the server and correctly written to the
>> connection. But for some of those commands, only the first line of the
>> response can be read by the client. Reading the rest of the response 
>> leads
>> to a timeout. In my efforts to debug this, I have the client send a 
>> second
>> command to the server and read the response to that command. But, in 
>> stead
>> of the response for the second command, the client receives the 2nd line
> of
>> the response of the first command. An attempt to read the 3rd line after
>> that, also leads to a timeout. It would take another command to be sent 
>> to
>> the server to be able to read that 3rd line.
>>
>> The strange situation is, that this anomaly occurs but for a few of the
>> implemented commands. On the server side, these are handled in the
> OnExecute
>> handler of the TIdTCPServer and this is done the same way for all
> commands.
>>
>> To eliminate the possibities of bugs in the client app, I used PuTTY in
> raw
>> mode to send commands to the server. If I run PuTTY on NT, it works, on 
>> XP
>> it doesn't work. I tested it with the server on XP, NT, or Win2000, but
> that
>> doesn't make a difference.
>>
>> Has anyone encountered something like this before?
>>
>> Regards,
>>
>> Peter Laman
>> ----------------------------------
>> The Lance Group,
>> software to promote plant safety in the Process Industry
>> Web: http://www.lance-safety.com
>>
>> __________________________________________________
>> Delphi-Talk mailing list -> Delphi-Talk@elists.org
>> http://www.elists.org/mailman/listinfo/delphi-talk
>
> __________________________________________________
> Delphi-Talk mailing list -> Delphi-Talk@elists.org
> http://www.elists.org/mailman/listinfo/delphi-talk 

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to