Go to Latest
method Socket.prototype.setSendBufferSize
import { Socket } from "https://dotland.deno.dev/std@0.145.0/node/dgram.ts";

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.

Parameters

size: number