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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no 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 16:31:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!slip-12-64-12-121.mis.prserv.NET!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Ada sockets and gnat 3.13 windows and linux interoperability Date: Fri, 14 Feb 2003 19:23:57 -0500 Organization: JeLlyFish software Message-ID: References: <6a90b886.0302140715.54d50ccf@posting.google.com> NNTP-Posting-Host: slip-12-64-12-121.mis.prserv.net (12.64.12.121) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1045268724 47396655 12.64.12.121 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:34110 Date: 2003-02-14T19:23:57-05:00 List-Id: 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. Vinzent.