From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9ff14974e69ded8a X-Google-Attributes: gidfee84,public X-Google-Thread: f9325,9ff14974e69ded8a X-Google-Attributes: gidf9325,public From: Ralph Doncaster <"ralph"@dci-synapse-net (anti-spam '-' -> '.')> Subject: Re: UDP buffer size? setsockopt(SOL_SOCKET, SO_RCVBUF) Date: 1996/07/24 Message-ID: #1/1 X-Deja-AN: 169930464 sender: news@on.bell.ca (news admin) x-nntp-posting-host: bc2cni.on.bell.ca references: <4sleu1$5ps@nntp.atlanta.com> content-type: text/plain; charset=us-ascii organization: Doncaster Consulting Inc mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.protocols.tcp-ip x-mailer: Mozilla 2.02 (Win95; I) Curt Smith wrote: > > Does anyone know how to raise the buffer size to 64kb or larger, > so for example, 64 1024byte packets can be sent in a tight loop > before the receiving task will start seeing dropped packets?? > > How about the header file: > > /sys/include/net/bpf.h: > > #define BPF_MAXBUFSIZE 0x8000 Did you try setsockopt(SO_SNDBUF...)?