i want to prepare a byte buffer as a upd packet i want to fill each value in reverse order how can i do so in ansi c
i have to do this on windows system,
i want to prepare a byte buffer as a upd packet i want to fill each value in reverse order how can i do so in ansi c
i have to do this on windows system,
Assuming you are doing this so it will work on any receiving system: Use htonl() on each byte in your buffer when sending and ntohl() on each received byte.