Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Internet-Network
Title: socket-server-socket-serve Download
 Description: 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
 Downloaders recently: [More information of uploader fengjunjie ]
 To Search:
File list (Check if you may need any files):
socket-server-master
socket-server-master\.gitignore
socket-server-master\.travis.yml
socket-server-master\Dockerfile
socket-server-master\LICENSE
socket-server-master\Makefile
socket-server-master\README.md
socket-server-master\src
socket-server-master\src\base.cpp
socket-server-master\src\base.h
socket-server-master\src\base_server.cpp
socket-server-master\src\client.cpp
socket-server-master\src\clients.sh
socket-server-master\src\epoll_server.cpp
socket-server-master\src\poll_server.cpp
socket-server-master\src\select_server.cpp
socket-server-master\src\thread_server.cpp

CodeBus www.codebus.net