Socket.prototype.getSendBufferSize - Node documentation
method Socket.prototype.getSendBufferSize

Usage

import { Socket } from "node:dgram";

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.

Return Type

number

the SO_SNDBUF socket send buffer size in bytes.