how to pass binary char array to remote host efficiatively?

in Help Center
hi ICE-team:
i will attempt to pass char array ( char buff[1024]) to remote host via ICE enigine,in ICE ,must covert buff to sequnce<Byte>,it map to std::vector<Byte>,its capablity is not good at speed, i don't known how to resolve this problem.
i will attempt to pass char array ( char buff[1024]) to remote host via ICE enigine,in ICE ,must covert buff to sequnce<Byte>,it map to std::vector<Byte>,its capablity is not good at speed, i don't known how to resolve this problem.
0
Comments
http://www.zeroc.com/vbulletin/showthread.php?t=1697
Dear Marc,Give me any advise
If you measure performance, make sure to use optimization. The speed of STL containers depends a lot on inlining and other optimization features. In addition, STL containers also often have additional checks in debug mode that lower performance.
very thanks
in our application ,we will tranfer variant media stream(video/audio) from client to server,high-speed is important. in pass,we create raw tcp/udp socket at both side, push stream-bytes into socket .example:
streambuff = new Byte[1024*10]
sk = socket(AF_INE,SOCK_STREAM,0);
ret = caputreVideoStream(streambuff,1024)
ret = packRTP(streambuff,ret)
send(sk,streambuff,ret,0);
that's ok!
and now if using vector<Byte>, i known ice also will implement above socket-operation,so i consider application cost is expansive.