[ENet-discuss] ENetPeer->data and enet_host_service

Jay Sprenkle jsprenkle at gmail.com
Wed Apr 27 13:45:21 PDT 2011


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. <queatz at gmail.com> 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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20110427/68a0bcf8/attachment.html>


More information about the ENet-discuss mailing list