aha
googling says memcpy() requires three arguments , a destination , a source, and a count of the elements in the source eg:
memcpy( arrB, arrA, 5 );
so I need:
memcpy(buf, packet.data(), packet.length());
Is that right?
aha
googling says memcpy() requires three arguments , a destination , a source, and a count of the elements in the source eg:
memcpy( arrB, arrA, 5 );
so I need:
memcpy(buf, packet.data(), packet.length());
Is that right?