[ENet-discuss] Sending numerical values in packets

Brian Hook hook_l at pyrogon.com
Sat Nov 8 08:57:47 PST 2003


> Is this the correct way?

Well, it should work, but it's a lot of extra work compared to just 
doing a pointer cast:

* ( enet_uint32 * ) array = * ( enet_unit32 * ) &i;

> Btw, the download links didn't seem to work when I tried.

Fixed.

Brian







More information about the ENet-discuss mailing list