Interestingly, if you set a non-default socket buffer size, Linux doubles it to provide for the overheads. This means that if you send smaller packets (e.g. less than the 576 bytes above), you won't be able to fit as many bytes of user data in the buffer, as you had specified for its size.

Send and receive buffer sizes · Issue #435 · rakshasa May 30, 2016 MySQL :: MySQL 5.6 Reference Manual :: 18.3.3.12 Formerly, the NDB kernel employed a send buffer whose size was fixed at 2MB for each node in the cluster, this buffer being allocated when the node started. Because the size of this buffer could not be changed after the cluster was started, it was necessary to make it large enough in advance to accommodate the maximum possible load on any RECV_BUF_SIZE | Smart way of Technology

Serial.write() - Arduino Reference

How to find the socket buffer size of linux - Stack Overflow Note: this is also only the read buffer size, use SO_SNDBUF to get the size of the write buffer. Under at least linux, you can use ioctl SIOCINQ and SIOCOUTQ, to respectfully get the current used state of the buffer. – Rahly Jun 7 '17 at 22:01 Solved: UDP send/recieve buffer size - Hewlett Packard Re: UDP send/recieve buffer size Someone else has already pointed-out that while TCP settings are made to /dev/tcp and IP settings to /dev/ip UDP settings get made to /dev/sockets so much for foolish consistency in the HP-UX networking stack :)

Socket.SendBufferSize Property (System.Net.Sockets

How to find the socket buffer size of linux - Stack Overflow Note: this is also only the read buffer size, use SO_SNDBUF to get the size of the write buffer. Under at least linux, you can use ioctl SIOCINQ and SIOCOUTQ, to respectfully get the current used state of the buffer. – Rahly Jun 7 '17 at 22:01 Solved: UDP send/recieve buffer size - Hewlett Packard