Skip to content

pckben/threaded-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-threaded TCP server, which listens on a given TCP port, then forks into a separate thread to handle each connected client.

Each server thread is intended to be CPU intensive, thus a thread pool is needed to limit the number of active threads, and thus the number of connected clients. The actual application for this library is a multi-threaded speech recognition server.

  1. Server creates N threads and sleep
  2. Server listen on the given port p
  3. Client connect to port

About

Multi-threading TCP server

Resources

Stars

Watchers

Forks

Packages

No packages published