Make dnd architecture-independent, using network byte order