Skip to content

thinkty/tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple TCP server template for Linux made following the Beej's guide to network programming.
The code is a simple echo server by default.

Usage: ./server <handler> -n <port number>
  handler: 
    -p pool_size : use a thread pool of specified size to handle new requests
    -t : handle new connection in a new thread
    -c : handle new connection in a child process

@see https://beej.us/guide/bgnet/

About

A simple TCP server template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published