[Dibbler] dibbler-server an debian-armel
lists at milindur.de
Sun Aug 17 12:09:22 CEST 2008
> are possible (CPU and/or OS allow it). But ARM (and other architectures)
> seems to not support this. I think that all pointer casts with possible
> unaligned data has to be rewritten to use memcpy (for parsing received
> messages and for building messages to send).
a nicer approach is using functions similar to these:
They define getX (getUShort, ...) as well as putX (putUShort, ...)
functions for access to unaligned data in buffers.
More information about the Dibbler