8000 GitHub - ganggit/socket_server: socket server and client implement with select async
[go: up one dir, main page]

Skip to content

ganggit/socket_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1. source files:
server.cpp: implemented with select async, port 9999

client.cpp: client, connect to port 9999

2. compile:
g++ -g server.cpp -o server
g++ -g client.cpp -o client

3. runing and testing:
for server: ./server
for client: ./client 127.0.0.1 9999

4. any comments are welcome

5. multithread.cpp: a simple multiple threading code to do summation

About

socket server and client implement with select async

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0