Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 10 Dec 2001 01:17:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 10 Dec 2001 01:17:15 -0500 Received: from cx97923-a.phnx3.az.home.com ([24.1.197.194]:26806 "EHLO grok.yi.org") by vger.kernel.org with ESMTP id ; Mon, 10 Dec 2001 01:17:03 -0500 Message-ID: <3C145359.3090401@candelatech.com> Date: Sun, 09 Dec 2001 23:16:57 -0700 From: Ben Greear Organization: Candela Technologies User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: linux-kernel Subject: question on select: How big can the empty buffer space be before select returns ready-to-write? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org For instance, it appears that select will return that a socket is writable when there is, say 8k of buffer space in it. However, if I'm sending 32k UDP packets, this still causes me to drop packets due to a lack of resources... Is there any IOCTL that can tell select how much space to require before it thinks a socket is writable? Many thanks, Ben -- Ben Greear President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear - 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/