setsockopt 228K fails with ERR#55 'No buffer space available'
killing at multiplay.co.uk
Sat Sep 10 20:15:38 PDT 2005
The following fails with ERR#55 'No buffer space available'
int buf_size = (228*1024);
int ret = setsockopt( s, SOL_SOCKET, SO_SNDBUF, (void*) &buf_size, sizeof( buf_size ) );
This appears like its controlled by kern.ipc.maxsockbuf
which is default of 256k so the above should work if
its per socket and not total?
Does anyone know the implications of increasing this to
say 512k and is it per socket or global?
Does anyone have any experience with apps setting SNDBUF
to large values like 256k?
Steve / K
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.
More information about the freebsd-hackers