Article View: borland.public.cppbuilder.internet.socket
Article #458Re: Keep-Alive/CloseConnection.
From: Remy Lebeau (TeamB)
Date: Tue, 19 Feb 2008 17:26
Date: Tue, 19 Feb 2008 17:26
31 lines
2029 bytes
2029 bytes
"Arvid Haugen" <Arvid@elis.no> wrote in message news:47ba951c$1@newsgroups.borland.com... > Is there any timeout for this connection There are two timeouts that are available which you can use to manually mimic the functionality you are asking for (there is no timeout specific for it): 1) the connection's ReadTimeout property. If the client does not send a new request during the specified interval, the connection will timeout and disconnect. But it will also timeout if the connection is slower than the interval as well. 2) the server's SessionTimeOut property. If the client does not send a new request using an existing session during the specified interval, the session will timeout. You can use the OnCreateSession event to associate a connection with a session, and then use the OnSessionEnd event to disconnect the connection. > or a max number of requestes that will be served for each connection? No. > Or do I need to program this myself? Yes. Gambit
Technical Details
Message-ID:
<47bb1142$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47ba951c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9657df3675738e7e X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <47ba951c$1@newsgroups.borland.com> Subject: Re: Keep-Alive/CloseConnection. Date: Tue, 19 Feb 2008 09:26:53 -0800 Lines: 33 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <47bb1142$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1203441986 207.178.157.90 (19 Feb 2008 09:26:26 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail