搜索资源列表
clientserver
- Linux下使用Select模型的两个类Client And Server
IO多路复用 SELECT函数
- IO的多路复用(Select函数) 注:为了解决创建子进程带来的系统资源消耗而采用多路I/O模型 一般来说当我们在向文件读写时,进程有可能读写出阻塞,如果我们不希望阻塞,我们的一个选择是用select系统调用。只要我们设置好select的各个参数那么文件可以读写的时候select通知我们说可以读写,在我们调用select时进程会一直阻塞到以下一种情况发生 1) 有文件可以读 2) 有文件可以写 3) 超过所设置的时间
tcpserver_select
- 利用select I/O复用模型实现TCP并发服务器-TCP-SERVER
pthreadlib
- 基于select模式的多线程开发模型,可以编译使用-Select models based on multi-threaded development model can be compiled using
select
- 高效select模型源代码,适合初学者下载。非常不错的学习资料。-Efficiently select model source code, suitable for beginners to download. Very good learning materials.
epoll_methods
- 详细介绍了EPOLL机制的一下概念,编程实例等。包含以下文档:linux 2.6内核epoll用法举例说明、Linux Epoll介绍和程序实例、linux epoll模型、LINUX网络编程{fork, select, epoll三种模式)等。-允许输入拉丁字符的拼音 Details EPOLL mechanism concept, programming examples. Contains the following documents: the linux 2.6 kernel ep
network
- 用visualstate画的模型,然后编写的,实现network的多级菜单,以及IP地址的输入,上下键选择数字-Model with visualstate painting, and then written to achieve a network of multi-level menus, as well as the IP address of the input, the up and down keys to select digital
35738599select
- unix/linux系列中select模型的经典代码,可惜不是c++写的-unix/linux the series select models classic code, but unfortunately not c++ written
select-non-block
- 利用TCP/IP协议,使用socket编程模型和curses界面,实现基本聊天功能;分为服务器和客户端,服务器负责收发数据,以及对连接的客户端进行连接,客户端连接上服务器后就可以正常的通信。-Using TCP/IP protocol, the use of socket programming model and curses interface, to achieve the basic chat functions divided into server and client, serv