非阻塞模式socket程序

时间:2012-09-13 14:06:13
【文件属性】:
文件名称:非阻塞模式socket程序
文件大小:27KB
文件格式:RAR
更新时间:2012-09-13 14:06:13
socket 这是封装的socket库,用poll采用非阻塞模式,接收消息与网线断开处理以回调函数方式到应用层处理,使用起来非常方便,带服务端和客户端的测试实例
【文件预览】:
socket
----client()
--------socketclient.o(2KB)
--------socketclient.c(2KB)
--------.depends(214B)
--------client_main(7KB)
--------Makefile(1012B)
----server()
--------server_main.c(968B)
--------server_main(6KB)
--------.depends(106B)
--------server_main.o(2KB)
--------.server_main.c.swp(12KB)
--------Makefile(1012B)
----include()
--------socketserver.h(1KB)
--------list.h(7KB)
----server_main(6KB)
----client_main(7KB)
----lib()
--------libsocketserver.c(7KB)
--------.depends(114B)
--------libsocketserver.so(9KB)
--------Makefile(790B)
--------libsocketserver.o(5KB)
----Makefile(1KB)

网友评论

  • 挺好的哦,有参考价值。
  • 不错,很有借鉴意义,只是客户端还是阻塞模式
  • 资源很好,目前正在学习,帮助很大
  • 是C++ 写的还行 能借鉴
  • 我不知道用什么软件能打开啊?vs2010 打不开啊
  • 写的不错,有参考价值
  • 是C++版本的,还好最近在研究C++不然我都没法看了,谢谢楼主分享!
  • 是C++版本的,还好最近在研究C++不然我都没法看了,谢谢楼主分享!