You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an existing C++ client/server application using boost::asio that relies on UDP messaging, and I want it to support broader clients through NAT setups, libjuice seems the best fit, but I'm not clear how to integrate my existing code with this, as they seem to use their own polling loop
The text was updated successfully, but these errors were encountered:
libjuice relying its own internal polling thread is not an issue, you just need to call io_service.post(handler) in callbacks to reschedule execution on the asio event loop.
If I'm not mistaken asio::io_service is deprecated and replaced by asio::io_context, for which you should use post(io_context, handler).
I have an existing C++ client/server application using
boost::asio
that relies on UDP messaging, and I want it to support broader clients through NAT setups,libjuice
seems the best fit, but I'm not clear how to integrate my existing code with this, as they seem to use their own polling loopThe text was updated successfully, but these errors were encountered: