Original Post
I normally use unsigned char to store my binary message before handing them over to sendto(). In switching to a more STL approach I''m trying to use a queue od strings to store my byte messages.
Can I use a basic string to store my binary data and protect it''s integrity (I had a nasty experience with signed data ''corrupting''
my data a while back.
This is the messaging subsystem of my networked game. Messages can be of any length, in the past I''ve just used a 4k unsigned char array, which is grossly inefficient. Will message.cstr() wreak anything?
Thanks
gimp