[omniORB] Octet type

Miguel mmiguel@arrakis.es
Fri, 23 Mar 2001 17:07:55 +0100


Hi

I have to transmit a texture from a server to a client. It can be in 
different formats (such as .rgb, .jpg, .gif...) so I've decided to
send all of them as a sequence of octets. The problem is that I don't have 
a good knowledge about using the octet type, so
I don't know how to read data from the file and convert it to an octet (and 
how to convert an octet to data) (perhaps with
a simple cast??)

Any suggestion or info about the octet type?

Thank you very much.

Bye.