New answers tagged pthreads
1
vote
Where to initialize clients in C server?
The logic that you describe looks very much like session management, the glue that ties together network connection with a user.
As it is a different concern than the ones handled in other modules, ...
2
votes
Where to initialize clients in C server?
Whenever one has a requirement which does not fit into the existing module structure of a system, I would recommend to start with a new module first.
Said that, during the evolution of this new module,...
2
votes
Should I introduce a controller layer to separate networking from game/player logic in a C server project?
The closest I ever got to C is writing some procedural C++ in college, and I don't build games, so my answer isn't going to provide the exact structure; instead it will describe the approach I would ...
0
votes
Should I introduce a controller layer to separate networking from game/player logic in a C server project?
It doesn't need to be a single class in charge of those five steps. From what I understand, the uniqueness of the user name is related to the “global player list,” which makes me think there should be ...
Top 50 recent answers are included
Related Tags
pthreads × 11multithreading × 6
c × 5
architecture × 2
c++ × 2
parallelism × 2
design × 1
design-patterns × 1
api-design × 1
concurrency × 1
linux × 1
server × 1
game-development × 1
c++11 × 1
sockets × 1
parallel-programming × 1
runtime × 1
software-schedules × 1
c11 × 1