Article View: borland.public.cppbuilder.internet.socket
Article #4139Re: TIdTCPServer OnExecute event
From: Remy Lebeau (TeamB)
Date: Tue, 22 Mar 2005 22:03
Date: Tue, 22 Mar 2005 22:03
19 lines
1479 bytes
1479 bytes
"Evandro Dugnani" <edugnani@gmail.com> wrote in message news:424085cd@newsgroups.borland.com... > I noticed that the OnExecute event in server side (where my server > application side sends a string to client side) is called n time while > client side doesn't disconnect. Is it normal, or need I set something? OnExecute is triggered in a loop for the duration that the client is connected. > I'd like to keep connection alive while exchange some data > between client and server side. You don't have to do anything for that. TCP connections are already persistent by design. Gambit
Technical Details
Message-ID:
<424096cf$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<424085cd@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2ec4d6e5445fd698 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <424085cd@newsgroups.borland.com> Subject: Re: TIdTCPServer OnExecute event Date: Tue, 22 Mar 2005 14:03:31 -0800 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <424096cf$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1111529167 68.69.17.41 (22 Mar 2005 14:06:07 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail