Chris Wright wrote:
> * Ben Greear (email@example.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?
Are you sure about that? UDP has a 16-bit field for the length. Thus the
standard technically allows for packet sizes (including header) of up to 2^16
(roughly 65K) bytes.
-- Chris Friesen | MailStop: 043/33/F10 Nortel Networks | work: (613) 765-0557 3500 Carling Avenue | fax: (613) 765-2986 Nepean, ON K2H 8E9 Canada | email: firstname.lastname@example.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com 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:18 EST