On Tue, May 28, 2013 at 3:26 AM, [email protected] <[email protected]> wrote: > hi Thorbjørn, > thank you very much for your suggestion ,I will take a try, it`s > really helpful,but I think I will put sending and receiving in one thread > but not the main thread, because I use the ENET in games, main thread just > service game。
Most people use enet in games and I think most will do so without a separate thread (but that's just my expectation). In fact the game for which enet was originally written (Cube and Cube 2: Sauerbraten - http://cubeengine.com/) does not put enet in a separate thread either. You can of course still do so, and you may have some reason for it, but the reason can't be "because I use enet in games". :-) Regards, Bjørn _______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
