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

Usage in Deno

import { Socket } from "node:dgram";
Socket.prototype.getSendBufferSize(): number

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.