Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - epoll socket
Search - epoll socket - List
Linux epoll socket server-Linux server socket epoll
Date : 2008-10-13 Size : 2.36kb User : huang

Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知ThreadPool类,由ThreadPool类进行任务分派. TaskThread.cpp(继承Thread.cpp) : 具体任务类,负责接受客户端发送数据. ThreadPool.cpp (继承Thread.cpp) : 线程池类负责启动别的线程 , 并且进行线程调度。首先启动ListenThread.cpp类,如果有客户端 连接ListenThread.cpp类发送信号通知ThreadPool.cpp类,收到信号再分配给TaskThread.cpp类,进行处理。如果没有空闲任务类,动态再 创建一定数目的任务类。
Date : 2009-10-12 Size : 293.71kb User : 77501578@qq.com

Linux epoll socket server-Linux server socket epoll
Date : 2025-07-01 Size : 2kb User : huang

linux平台epoll封装,完成socket事件回调功能-linux platform epoll package, complete socket event callback function
Date : 2025-07-01 Size : 55kb User : etssc

socket的事件分发模型,使用了统一接口封装select,poll,epoll等模型。-socket events distributed model, the use of a unified interface package select, poll, epoll and other models.
Date : 2025-07-01 Size : 32kb User : zbc

Linux Epoll用法实例(Socket编程)-Linux Epoll usage examples (Socket Programming)
Date : 2025-07-01 Size : 1kb User : notshy

linux下的Tcp服务器,采用的是Epoll模式,deamon程序,适合大家学习网络编程。-Tcp server under linux, using the Epoll mode, deamon process, suitable for them to learn network programming.
Date : 2025-07-01 Size : 247kb User : yourname

编译 g++ -Wl,-Bdynamic -lgcc_s -o Socket socket.cpp epoll 开发的的类QQ服务端程序,给大家参考-Compile g++-Wl,-Bdynamic-lgcc_s-o Socket socket.cpp epoll the development of the class QQ server program, for your reference
Date : 2025-07-01 Size : 3kb User : wuzhaoguo

linux网络编程的一些技巧,包括socket,thread pool, select,epoll等-linux network programming some of the techniques, including socket select, epoll, etc.
Date : 2025-07-01 Size : 4kb User : sy

利用EPOLL写的一个简单的connect非阻塞模型-Written by EPOLL connect a simple non-blocking model
Date : 2025-07-01 Size : 2kb User : freebuf

linux下epoll模式的socket,可支持多用户同时向服务器发送请求。-mode under linux epoll socket, can support multiple users simultaneously send requests to the server.
Date : 2025-07-01 Size : 56kb User : 王文星

epoll socket连接简单实例。简单描述epoll方式的socket连接。-epoll socket to connect a simple example. A brief description of the way epoll socket connection.
Date : 2025-07-01 Size : 2kb User : zhang

DL : 0
linux c 网络编程,socket实现epollc服务器-linux c network program about socket,use epoll
Date : 2025-07-01 Size : 1kb User : 孟士淇

socket for tcp udp , with c code
Date : 2025-07-01 Size : 6kb User : yun

代码编写了在unix socket编程的典型几种模式,包括迭代,epoll,select,多线程,多进程等模式,是学习的好资料-The Unix socket programming code is written several models, including the iterative model, epoll mode, select mode, multithreading, process model, ,so it is the study nice material
Date : 2025-07-01 Size : 1.41mb User : 焦梁

DL : 0
linux下c++的socket编程,深入浅出的从socket套接字到epoll服务器编程讲述-programming of the linux under c++ socket, easy socket from the socket to epoll server programming tells
Date : 2025-07-01 Size : 367kb User : 许文强

这是一个关于各种IO模型的socket server实现与测试。 这里采用多种模型实现了一个TCP ECHO服务器,将client发送的内容echo回去。 client每秒会发送一次请求,server保持并发连接并进行相应。 现已实现的模型: base: 最原始的echo服务器 thread: 多线程模型 select: select模型 poll: poll模型 epoll: epoll模型 参数 修改src/clients.sh 可以生成指定数量的client 修改src/base.cpp 中的MAX_CLIENT_NUM参数调整server最大服务数 修改src/base.cpp 中的CLIENT_INTERVAL参数调整client发包间隔 修改Makefile 中的DEBUG参数确定是否输出调试信息 使用方法(This is a socket server implementation and testing of various IO models. Here, a variety of models are used to implement a TCP ECHO server that returns the contents sent by echo back to client. Client sends a request per second, and server maintains concurrent connections and performs them accordingly. The model has been implemented: Base: the most primitive echo server Thread: multithreaded model Select: select model Poll: poll model Epoll: epoll model parameter Modify src/clients.sh to generate a specified number of client Modify the MAX_CLIENT_NUM parameter in src/base.cpp to adjust the maximum number of server services Modify the CLIENT_INTERVAL parameter in src/base.cpp to adjust the client contract interval Modify the DEBUG parameter in the Makefile to determine whether output debugging information is out Usage method)
Date : 2025-07-01 Size : 11kb User : JIE2012

epoll socket 的使用,包括客户端和服务端编码(Programming to achieve the epoll socket, including the client and server-side coding)
Date : 2025-07-01 Size : 51kb User : wellie

DL : 0
简单的socket实现,通过epoll实现简单的客户端和服务端代码(simply socket example)
Date : 2025-07-01 Size : 1kb User : 电击方块

epoll高性能服务框架,服务端+客户端(Epoll high performance service framework, server + client)
Date : 2025-07-01 Size : 5kb User : sefsaa
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.