Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Feb 2003 14:57:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Feb 2003 14:57:45 -0500 Received: from chaos.analogic.com ([204.178.40.224]:1946 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id ; Tue, 4 Feb 2003 14:57:44 -0500 Date: Tue, 4 Feb 2003 15:10:06 -0500 (EST) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: Fiona Sou-Yee Wong cc: linux-kernel@vger.kernel.org Subject: Re: disabling nagle In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 29 On Tue, 4 Feb 2003, Fiona Sou-Yee Wong wrote: > Hi > > I have kernel version 2.4.18 and I was looking for a patch to have the > option to disable NAGLE's algorithm. > Is there a patch available for kernels 2.4 and greater and if not, what > other options do I have? > > Thanks > Fiona Just turn it off in your program: int on = 1; setsockopt(s, SOL_TCP, TCP_NODELAY, &on, sizeof(on)); Cheers, Dick Johnson Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Why is the government concerned about the lunatic fringe? Think about it. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/