105106107108109110111112113114115
} int ct = 0; boolean done = false; while (!done) { mng.recv(); while (mng.incoming() > 0) { Message msg = mng.get(); ++ct; print(ct, msg); if (maxct > 0 && ct >= maxct) { done = true;