Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: Delphi 7 & Indy 10 TidCmdTCPServer OnCommand Event

www.cryer.info
Managed Newsgroup Archive

Re: Delphi 7 & Indy 10 TidCmdTCPServer OnCommand Event

Subject:Re: Delphi 7 & Indy 10 TidCmdTCPServer OnCommand Event
Posted by:"Codeman II" (thegentlem..@webmail.co.za)
Date:Fri, 13 Apr 2007 17:07:34

> If a client is going to be sending commands fairly often, it is
> generally best to leave the connection open, and require periodic
> commands, even if just keepalives.  Establishing a new connection has
> some overhead to it on both sides.  On the other hand, if a client is
> not going to be sending any commands for awhile, it is generally
> better to disconnect so that resources can be released.


Can you please furnish me with details pertaining sending keepalives etc
when leaving the client connections open
for the applications life duration.

- How should "keepalives" be send?
- What is the purpose of sending keepalives?
- How often should it be send?
- Is there any significantly important pointers you believe I should be
aware of?

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive