Boost logo

Boost Users :

Subject: Re: [Boost-users] sending struct of int from Linux to Windows using boost::asio
From: Bjarne Laursen (bla_at_[hidden])
Date: 2009-09-10 03:45:25


On Thu, 10 Sep 2009 04:50:59 +0200, <A.Agrawal_at_[hidden]> wrote:

> Hello All,
>
> I am having trouble using boost:asio to send a simple struct
> message_header from server (linux) to the client (windows).
>

Do you deal correctly with the endianness
(http://en.wikipedia.org/wiki/Endianness) by using htonl and the like?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net