[zeromq-dev] byte order

Brian Smith brian at linuxfood.net
Fri Dec 23 22:31:50 CET 2011


Depends.

The only thing you need to worry about is that you can deserialize your message
content on the receiving end. ZeroMQ treats message content as a pure
binary blob, it does
no transformation of any kind on your behalf.

If you happen to be sending binary integers between little endian and
big endian machines
you should probably include a byte order marker in your serialization
scheme, or define all
integers to be in one format.

Hope that helps.

-B

2011/12/23 yanbinbin <yanbinbin2005 at 163.com>:
>  Hi guys:
>        when i use 0mq to send msg, do i have to consider the byte order?
>
>
>
>
> B R
> yanbb
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list