Build C&C architecture

I am trying to build a C&C server to handle many clients as possible , but what is the best to achieve that threads or processes ? I have this one , but it hangs after getting connections https://gist.github.com/SkyBulk/f39e7d4a0d34e717b4ce1fee0f375b5e

I’ve built them with threads in the past mostly because they are more lightweight to spin up in terms of speed, and they allowed for shared global variables. Still working with the code to see what’s causing the hang.

how much clients could u handle before GLI?

When I run it, it hangs immediately with this behavior:

this is because the input and multi process dont like it

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.