public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* question on select:  How big can the empty buffer space be before select returns ready-to-write?
@ 2001-12-10  6:16 Ben Greear
  2001-12-10  7:33 ` Chris Wright
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Greear @ 2001-12-10  6:16 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-12-10 22:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-10  6:16 question on select: How big can the empty buffer space be before select returns ready-to-write? Ben Greear
2001-12-10  7:33 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox