The overhead is quite minimal. Take the peerConnected() signal emitted by QENetHost, for example. Basically all I do once an ENET_EVENT_TYPE_CONNECT comes in is create a QENetPeer instance and assign the pointer to the data member of the ENetPeer struct. Then a signal is emitted with the pointer to the QENetPeer instance.<br>
<br>My biggest performance-related concern at this point is the QTimer that calls enet_host_service(). I am using 200 milliseconds right now and that seems to work well, but I haven't done any extensive investigation. I might end up making that number a configurable setting.<br>
<br>- Nathan<br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 4:22 PM, Jay Sprenkle <span dir="ltr"><<a href="mailto:jsprenkle@gmail.com" target="_blank">jsprenkle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Interesting. I'm using enet and Qt in a project as well.<br>Do you have any idea how much overhead using signals and slots adds?<br><div class="im"><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 4:51 PM, Nathan Osman <span dir="ltr"><<a href="mailto:nathan.osman@gmail.com" target="_blank">nathan.osman@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am pleased to announce the first beta of a Qt wrapper for the ENet library written in C++. The project page can be found here on Launchpad: <a href="https://launchpad.net/qenet" target="_blank">https://launchpad.net/qenet</a><br>

<br></blockquote></div></div>---<br><i style="font-size:12px;font-family:Verdana,Helvetica,sans-serif">"Why do you have that banana in your ear?" <br>"To keep away the alligators."<br>
"But there are no alligators here."<br>"See! It's working!"</i>
<div><i style="font-size:12px;font-family:Verdana,Helvetica,sans-serif">--</i></div><br>
<br>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br>