From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5ddf1e6f4a4c039d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-14 17:22:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Ada sockets and gnat 3.13 windows and linux interoperability Date: Fri, 14 Feb 2003 19:22:18 -0600 Organization: ENST, France Message-ID: References: <6a90b886.0302140715.54d50ccf@posting.google.com> Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1045272171 87458 137.194.161.2 (15 Feb 2003 01:22:51 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sat, 15 Feb 2003 01:22:51 +0000 (UTC) To: "comp.lang.ada mail to news gateway" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:34111 Date: 2003-02-14T19:22:18-06:00 ----- Original Message ----- From: "Vinzent Hoefler" Newsgroups: comp.lang.ada To: Sent: February 14, 2003 6:23 PM Subject: Re: Ada sockets and gnat 3.13 windows and linux interoperability > tony_gair@yahoo.co.uk (Tony Gair) wrote: >> If I wanted to recompile the client side to windows using the client code I >> have for linux , would this theoretically still work with the linux server ? > On SigAda 2002 a paper was presented for a Satellite Terminal > Simulator called TSim. They used gnat, Tcl/Tk, TASH, AdaSockets and > the Booch Components and in the paper they state the following: > "Throughout Round-3, we managed to retain the source code > compatibility between Win32 and Linux. So, we could also build > distributed TSim under Linux, and operate exactly the same way. > Miraculously, we also found that the Satellite partitions were > interoperable under Win32 and Linux. > That is, we could run the Satellite partition under Linux, and the > Terminal partition under Win32, with TC connected on the same or a > different machine. Or, we could run the Satellite partition on Win32, > and the Terminal partition under Linux, connected to TC on Win32 - > possibly the same machine running the Satellite server. This was truly > unexpected, and gave us something technically satisfying." > Well, they used the Distributed Systems Annex, but I'd guess, even > without that your chances are very good. > If all else fails, you still can add representation clauses to the > types you are exchanging to make sure they are represented the same > way on all target systems. It's not representation clauses that are needed, but rather stream attributes that will control the network representation of the data as it's transferred between systems. The Distributed Systems Annex goes so far as to provide endianness- independent stram attributes, so that the types will be accurately transferred even between systems with different endianness. > Vinzent. _______________________________________________ comp.lang.ada mailing list comp.lang.ada@ada.eu.org http://ada.eu.org/mailman/listinfo/comp.lang.ada