• Advertisement
Sign in to follow this  

Enet crashing only in release mode?

This topic is 4707 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have an app using ENet and it works fine. My client app can connect and send a packet, then disconnect. However, if I try to make my server do the same thing, the app crashes when I call enet_packet_create(). Even more interesting, it works fine when in debug mode, but in release mode it won't work. I check the values of the parameters to enet_packet_create using message boxes and they all seem valid. The problem seems to be in a call to malloc by enet. Any idea what could be going on here?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement