From: Ben Greear <greearb@candelatech.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: question on select: How big can the empty buffer space be before select returns ready-to-write?
Date: Sun, 09 Dec 2001 23:16:57 -0700 [thread overview]
Message-ID: <3C145359.3090401@candelatech.com> (raw)
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 <greearb@candelatech.com> <Ben_Greear AT excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
next reply other threads:[~2001-12-10 6:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-10 6:16 Ben Greear [this message]
2001-12-10 7:33 ` question on select: How big can the empty buffer space be before select returns ready-to-write? Chris Wright
2001-12-10 8:38 ` Alan Cox
2001-12-10 16:41 ` Ben Greear
2001-12-10 19:05 ` Christopher Friesen
2001-12-10 21:46 ` Chris Wright
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C145359.3090401@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.