SO_RCVBUF和SO_SNDBUF默认值

时间:2022-11-19 20:49:17

内核:

cat /proc/version

Linux version 2.6.32-431.23.3.el6.centos.plus.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Wed Jul 30 00:12:13 UTC 2014
lsb_release -a
-bash: lsb_release: command not found
cat /etc/issue

CentOS release 6.3 (Final)

下套接字接受缓冲区 SO_RCVBUF=43690 bytes,发送缓冲区 SO_SNDBUF =9800 bytes

windows 下

下套接字接受缓冲区 SO_RCVBUF=8192 bytes,发送缓冲区 SO_SNDBUF =8192 bytes