Socket.prototype.getRecvBufferSize - Node documentation
method Socket.prototype.getRecvBufferSize

Usage in Deno

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

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.

Return Type

number

the SO_RCVBUF socket receive buffer size in bytes.