MsetSendBufferSize
Bun

method

dgram.Socket.setSendBufferSize

size: number
): void;

Sets the SO_SNDBUF socket option. Sets the maximum socket send buffer in bytes.

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.