Yes, I copy it with memcpy, but I must specify the size. And, if sizeof says 24bytes, I should copy 24bytes, however I need 23 bytes. Thats my problem.
You say I must send a pointer to struct, mmm, if I send a pointer to data on my computer to another PC, I think it will not work.
Thanks for answer. |