trying to fix bad endian encoding of the packages (should be big-endian, but are little-endian)
added missing include
fixed host-side and trying to fix board-side
fixed but in board-side driver regarding reading of a network package payload
using ntohl() and htonl() on the board side did not work quite as expected; try using the bytes itself
small fix
getting the data types of assignments right is not easy