<div>This is just a minor point...</div><div><br></div><div>I notice that ENet defines a bunch of int types that are used throughout the library. They are defined like this:</div><div><br></div><div>typedef unsigned char enet_uint8;       /**&lt; unsigned 8-bit type  */</div>

<div>typedef unsigned short enet_uint16;     /**&lt; unsigned 16-bit type */</div><div>typedef unsigned int enet_uint32;      /**&lt; unsigned 32-bit type */</div><div><br></div><div>I think it would be better if ENet didn&#39;t use these types, and instead used the types defined in &lt;stdint.h&gt;. uint32_t, uint16_t, and uint8_t. (intptr_t might also be appropriate in some places.) These standard types are defined in exactly the same way as the enet types but they have the benefit of being maintained by the standard library rather than by enet developers. So for example, when using enet with an usual compiler, &quot;enet_uint32&quot; might actually end up being 64 bits, whereas uint32_t is guaranteed by C99 to be 32 bits.</div>

<div><br></div><div>I don&#39;t think this will end up being a problem, but I still think it&#39;s a good idea to make use of the standards to protect against even unlikely possible future problems.</div>