[Vortex] Sending binary data
jens at mooseyard.com
Thu Sep 6 01:51:56 CEST 2007
On 5 Sep '07, at 4:42 PM, Yourch, Chris wrote:
> The method vortex_channel_send_msg_and_wait()sends data as a "const
> *". How do I send binary data? Shouldn't this method take the data as
> "const unsigne dchar *"?
If it takes arbitrary binary data, the type really should be "const
> If not, how do I send a bunch of binary (values of 0-255) bytes?
Just cast your data pointer, whatever type it may be, to (const char*)
to pass it to the function.
More information about the Vortex