Skip to main content
Go to Latest
method Socket.prototype.getRecvBufferSize
import { Socket } from "https://deno.land/std@0.158.0/node/dgram.ts";

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.

Returns

number

the SO_RCVBUF socket receive buffer size in bytes.