[ENet-discuss] Separating incoming from outgoing

shinyclaw shinyclaw at op.pl
Fri Mar 16 10:35:52 UTC 2018


Hi all! Can I separate the process of capturing incoming packet from sending them? Now, when I call enet_host_service(), the function process all incoming packets and sends all queued packets. What I want to achieve exactly is to separate this two processes like this:

ProcessIncomingPackets();
DoGameLogic();
ProcessOutgoingPackets();

How can I achieve this using ENet?
Thanks for any ideas!



More information about the ENet-discuss mailing list