socket并发模型

时间:2015-01-22 05:22:06
【文件属性】:
文件名称:socket并发模型
文件大小:63KB
文件格式:GZ
更新时间:2015-01-22 05:22:06
socket并发 基于TCP的socket的并发模型,用户只需要编写处理程序,就可以了,我的程序里是最大10个连接,是在linux下的代码,数据结构基于nginx的数据结构,使用select并发的,在后续的版本中,我会使用linux的epoll机制, 大家有好的建议,可以发消息给我, 有不足之处,希望大家多多批评指正。
【文件预览】:
pub
----array.c(3KB)
----list.h(1KB)
----base64.h(1KB)
----lmain.o(3KB)
----lmain.c(7KB)
----1(1KB)
----pool.h(2KB)
----pool.c(7KB)
----message.c(0B)
----buf.c(3KB)
----lhash.o(4KB)
----list.c(1KB)
----lhash.c(11KB)
----array.o(2KB)
----pool.o(2KB)
----lhash.h(7KB)
----lh_stats.c(8KB)
----Makefile(545B)
----env.sh(38B)
----buf.h(4KB)
----lmain(15KB)
----server.c(2KB)
----buf.o(2KB)
----array.h(831B)
----lmain.h(5KB)
----list.o(1KB)
Makefile
server
----array.c(3KB)
----list.h(1KB)
----base64.h(1KB)
----lmain.c(7KB)
----1(1KB)
----pool.h(2KB)
----pool.c(7KB)
----message.c(0B)
----lserver.o(7KB)
----buf.c(3KB)
----lhash.o(4KB)
----list.c(1KB)
----lhash.c(11KB)
----array.o(2KB)
----lserver.c(9KB)
----pool.o(2KB)
----lhash.h(7KB)
----lh_stats.c(8KB)
----Makefile(533B)
----env.sh(38B)
----buf.h(4KB)
----server.c(2KB)
----buf.o(2KB)
----array.h(831B)
----server(19KB)
----lmain.h(5KB)
----list.o(1KB)

网友评论