Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Socket.prototype.getSendBufferSize
import { Socket } from "https://deno.land/std@0.143.0/node/dgram.ts";

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.

Returns

number

the SO_SNDBUF socket send buffer size in bytes.