From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9de73eb3b41af3fc X-Google-Attributes: gidfa528,public X-Google-Thread: 11035d,9de73eb3b41af3fc X-Google-Attributes: gid11035d,public X-Google-Thread: 10669a,9de73eb3b41af3fc X-Google-Attributes: gid10669a,public X-Google-Thread: f9325,9de73eb3b41af3fc X-Google-Attributes: gidf9325,public X-Google-Thread: fcda7,9de73eb3b41af3fc X-Google-Attributes: gidfcda7,public X-Google-ArrivalTime: 2001-01-22 18:02:45 PST Path: supernews.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: fgont@softhome.net (Fernando Gont) Newsgroups: comp.protocols.tcp-ip,comp.unix.solaris,comp.os.linux.networking,comp.unix.tru64,comp.sys.hp.hpux Subject: Re: TCP listen pending connection does not work as expected Date: Tue, 23 Jan 2001 02:06:08 GMT Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3a6cbe82.4621332@nntp1.vianetworks.net.ar> References: <3A6C82DC.E87E92CC@opteway.com> X-Newsreader: Forte Free Agent 1.21/32.243 X-Complaints-To: newsabuse@supernews.com Xref: supernews.google.com comp.protocols.tcp-ip:4593 comp.unix.solaris:27420 comp.os.linux.networking:27391 comp.unix.tru64:1534 comp.sys.hp.hpux:5842 On Mon, 22 Jan 2001 19:58:36 +0100, francois reygagne wrote: >Could anyone help me. I want to make tcp rejected my incoming request >when the tcp listen queue is full >on Linux, Solaris 2.8, Tru64, HP-UX and AIX. Keep in mind that the backlog argument for the listen() function is not literally the number of queued connections on some systems. Please read thecurrent "TCP backlog" thread in comp.protocols.tcp-ip. >* when max of pending connection is reached, the server stops pushing >client socket >1) reads client request then >2) sends a response to refuse the request (server too busy) >3)closes the connection In that case, you're processing the requests, anyway. Will it really help your server to do that? -- Fernando Ariel Gont e-mail: fgont@ANTISPAM.softhome.net [To send a personal reply, please remove the ANTISPAM tag]