Search results

  1. G

    UDP multiclient server in C

    Hi all I'm trying to create a server that uses UDP and is capable of handling multiple clients. The server should 'stream' content to the clients only on the initial request (i.e. when starting the client). The general idea is to test how many clients is the server able to 'serve' before the...
  2. G

    C/++/# C++ pause and resume while(true) loop

    How to design a class, that executes an infinite loop, but may be paused, resumed and stopped by user input? I'll give you an example class Simulation { public: void start(){ m.init(); while(!m.isFinished()) m.update(); // computationally expensive calculation } void pause(); void...
Top