Re: question on select: How big can the empty buffer space be before select returns ready-to-write?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Dec 10 2001 - 03:38:18 EST


>
> * Ben Greear (greearb@candelatech.com) wrote:
> > 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...
>
> udp has a fixed 8k max payload. did you try breaking up your packets?

UDP has a 64K - headers max payload.

-
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/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:16 EST