You better follow Wysota's advices,
And when you work with c-style arrays you are more secure if you send the size too, not let the receiver slot (which may be modified by someone else in the future) guess that the size didn't change (and if you pass the sizes, you avoid the use "magic numbers" for the size of arrays)
Bookmarks