comp.lang.ada
 help / color / mirror / Atom feed
From: Marc C <mc.provisional@gmail.com>
Subject: Re: Endian problems - what best way to solve it with least effort
Date: Tue, 13 Mar 2012 11:29:46 -0700 (PDT)
Date: 2012-03-13T11:29:46-07:00	[thread overview]
Message-ID: <1295972.3240.1331663386134.JavaMail.geo-discussion-forums@vbai14> (raw)
In-Reply-To: <10483391.72.1331661651734.JavaMail.geo-discussion-forums@vbdj6>

On Tuesday, March 13, 2012 1:00:51 PM UTC-5, Anh Vo wrote:
> I have an application previously running on Big Endian machine communicating with a client simulator through socket. This client is coded in Java running on a separate machine. The data exchanged between them have different structures down to bits and bytes.

> What is the best way to solve it with least effort? Thank you in advance for your suggestion.

Depending on your performance requirements and the complexity and variety of data structures are being exchanged, consider marshalling/demarshalling using strings--embedded in an XML or JSON carrier.

Marc A. Criley
Ada sub-reddit moderator
(http://www.reddit.com/r/ada)



  parent reply	other threads:[~2012-03-13 18:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 18:00 Endian problems - what best way to solve it with least effort Anh Vo
2012-03-13 18:23 ` Dmitry A. Kazakov
2012-03-13 18:29 ` Marc C [this message]
2012-03-13 18:35 ` Simon Wright
2012-03-14 15:54   ` Anh Vo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox