Skip to main content
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.167.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.