[Vortex] Sending binary data

Jens Alfke jens at mooseyard.com
Thu Sep 6 04:20:51 CEST 2007


On 5 Sep '07, at 6:55 PM, Yourch, Chris wrote:

> So, "under the covers" a stream of byte's are actually sent? i.e. the
> const char * is cast to an unsigned char * and then sent?

Yes. There's no difference between the data pointed to by a char* and  
an unsigned char*. It's just bytes. The BEEP protocol itself doesn't  
care how you interpret the bytes in a message — you could cast them to  
unsigned char*, float*, struct foo*, whatever.

--Jens


More information about the Vortex mailing list