Chinaunix首页 | 论坛 | 博客
  • 博客访问: 749098
  • 博文数量: 116
  • 博客积分: 923
  • 博客等级: 准尉
  • 技术积分: 1635
  • 用 户 组: 普通用户
  • 注册时间: 2011-10-06 21:43
个人简介

一直帮老板搬运代码!!!

文章分类
文章存档

2013年(47)

2012年(69)

发布时间:2013-01-25 11:36:44

在VC:#pragma pack(1)typedef struct St2Tag{    St1 st1;    char ch2;} St2;#pragma pack() linux#pragma pack( push, 1 )typedef struct {    u_short    flag;    &.........【阅读全文】

阅读(1051) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1319) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1942) | 评论(0) | 转发(0)

发布时间:2013-01-12 13:23:55

cd ~vi .vimrclet &termencoding=&encodingset fileencodings=utf-8,gbk:wqchmod +x .vimrc可以了......【阅读全文】

阅读(825) | 评论(0) | 转发(0)

发布时间: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 ......【阅读全文】

阅读(1224) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册