socket.getRecvBufferSize()


  • 返回: <number> SO_RCVBUF 套接字接收缓冲区大小(以字节为单位)。

如果在未绑定的套接字上调用此方法将抛出 ERR_SOCKET_BUFFER_SIZE

  • Returns: <number> the SO_RCVBUF socket receive buffer size in bytes.

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.