一直帮老板搬运代码!!!
全部博文(116)
发布时间:2013-01-24 15:33:32
GDB: Program received signal SIGPIPE, Broken pipe. By default, gdb captures SIGPIPE of a process and pauses it. However, some program ignores SIGPIPE. So, the default behavour of gdb is not desired when debugging those program. To avoid gdb stopping in SIGPIPE, use the following co.........【阅读全文】
发布时间:2013-01-19 09:20:20
#include #include #include #include #include #include #include #include #include #include #define PORT 8888#define MAXFDS 5000#define EVENTSIZE 100#define BUFFER "HTTP/1.1 2.........【阅读全文】
发布时间:2012-12-21 19:03:34
Linux TCP 连接数修改 一、 文件数限制修改(1) vi /etc/security/limits.conf* soft nofile 10240 * hard nofile 10240 (2) vi /etc/pam.d/loginsession required /lib/security/pam_limits.so 二、 网络端口限制修改(1) vi /etc/rc.d/rc.local/sbin/modprobe ip_conntrack # 加载 ip_contrack 模块# /sbin/sysctl –p ......【阅读全文】