Hello,
I’m migrating some old networking code to EOS. The issue I’ve run into is that we have all networking on a separate thread working with old school poll calls which have a timeout parameter. Is there a way to achieve this with EOS_P2P_ReceivePacket or EOS_P2P_GetNextReceivedPacketSize ? I’ve looked into the eos_p2p.h header but there seems to be no waiting function or signal.
I can trigger some semaphores from inside the EOS wrapping calls and send those incoming messages to the working thread but it will add a layer of complexity to the code I would rather be without.