Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 25 Feb 2002 18:07:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 25 Feb 2002 18:06:45 -0500 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:1286 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Mon, 25 Feb 2002 18:06:38 -0500 Subject: Re: setsockopt(SOL_SOCKET, SO_SNDBUF) broken on 2.4.18? To: Raphael_Manfredi@pobox.com (Raphael Manfredi) Date: Mon, 25 Feb 2002 23:21:20 +0000 (GMT) Cc: linux-kernel@vger.kernel.org In-Reply-To: from "Raphael Manfredi" at Feb 25, 2002 10:19:42 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > The problem is that I don't want to shrink the buffer size, hence I need > to read the current size. Do I need to halve the returned value from > getsockopt() then? The kernel always uses a buffer as big or bigger than you asked for - 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/