in reply to Re^3: XDR encoded packet over udp socket
in thread XDR encoded packet over udp socket

Thanks! ive just overseen those examples -.-

however, i managed to get the right packet size now, but how can i add the magic number the server asks for?

// magic value for messages const uint32_t MSG_MAGIC = 0x46474653; // "FGFS" // protocoll version const uint32_t PROTO_VER = 0x00010001; // 1.1