You can use AMF to pass an ActionScript ByteArray. So you're set on the Actionscript side. On the server side, there are slim pickings for AMF server implementations in C++. I use BlazeDS for Java, but the only one I can seem to find for C++ is AMFPP.