Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Networking - Part 4 #32

Open
bonedaddy opened this issue Jul 22, 2020 · 0 comments
Open

Basic Networking - Part 4 #32

bonedaddy opened this issue Jul 22, 2020 · 0 comments

Comments

@bonedaddy
Copy link
Contributor

Overview

Up until now the socket server requires two threads for operating. One accepting new connections, another to process them. This increases the resource footprint, and means that if we are using a system with a single available thread, creating more than one will lead to decreased performance. This means we need a way of handling new connections when there's only a single available thread

Expected Outcome

  • Have the ability to run the socket server using a single thread
  • this means we need to switch between performing the following tasks:
    • accepting connections
    • handling new connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant