socket.getSendBufferSize()


  • 返回 <number> SO_SNDBUF socket 发送的 buffer 的大小,以字节为单位。

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.

  • Returns: <number> the SO_SNDBUF socket send buffer size in bytes.

This method throws ERR_SOCKET_BUFFER_SIZE if called on an unbound socket.