linux编程
IMiracle411
这个作者很懒,什么都没留下…
展开
-
一道多线程的例子
服务器端代码:<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#includestdio.h>#in转载 2011-07-24 23:13:24 · 375 阅读 · 0 评论 -
bind socket error:Socket operation on non-socket(errno:88)出错处理
在send()发送数据的时候出现下面这个错误send() error.: Socket operation on non-socket已导致不能发送错误,虽然这个错误时出现在send()调用,但是其错误源头在accept()调用,我调试时,打印了accept()返回值居然是0,m转载 2011-07-24 23:26:06 · 4932 阅读 · 0 评论 -
信号处理的调用
#include #include #include #include #include void ctrlc_handle(int signum){ if(signum == SIGINT) printf("%s %d\n", __FUNCTION__, signum); e原创 2011-07-23 11:43:00 · 345 阅读 · 0 评论 -
Linux Socket编程(不限Linux)
http://www.cnblogs.com/skynet/archive/2010/12/12/1903949.html转载 2011-07-23 11:47:59 · 307 阅读 · 0 评论 -
低级文件操作实例代码
#include #include #include #include #include #include #define FILE_TXT "sf.txt"#define FILE_BIN "sf.bin"typedef struct stu原创 2011-07-23 11:43:22 · 317 阅读 · 0 评论 -
source insight 注册码
SI3US-032434-64929原创 2011-08-17 09:55:29 · 847 阅读 · 0 评论