摘要: 经过一番折腾,现总结一下listen的参数backlog。PS:服务端环境:ubuntu12.04。客户端无所谓:我mac os x 10.7。先$ man listen看看,里面有一段话:If the backlog argument is greater than the value in /proc/sys/net/core/somaxconn, then it is silently truncated to that value; the default value in this file is 128. In kernels before 2.4.... 阅读全文
posted @ 2012-07-08 20:29 小鼬就是我 阅读(9156) 评论(0) 推荐(2) 编辑