If enet returns an error you don't change e.evt.peer->data and you don't return an error code. The code that calls this method has no way to detect if this happens. It will blindly use that value when it may not be correct.
On Wed, Apr 27, 2011 at 3:34 PM, Jacob F. <[email protected]> wrote: > Both the server and client are created without an error, and I can receive > the data placed into e.evt.peer->data after I set it. Are there any > specific errors that I should check for? > >
_______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
