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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ff1f0403676a2300 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.181.11.234 with SMTP id el10mr1513913wid.2.1344881939736; Mon, 13 Aug 2012 11:18:59 -0700 (PDT) Path: q11ni113245934wiw.1!nntp.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada Networking (General/Design) Date: Mon, 13 Aug 2012 20:18:58 +0200 Organization: cbb software GmbH Message-ID: <1v5it33h95a33$.1hkjuw58gfi8g.dlg@40tude.net> References: <1gfytw9o9pem2.1xvhednlaotb3$.dlg@40tude.net> <25fb2cbf-be17-44dd-9d95-22e9866be5a9@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-08-13T20:18:58+02:00 List-Id: On Mon, 13 Aug 2012 09:30:18 -0700 (PDT), Patrick wrote: > I want to write applications to communicate with scientific instruments. > Some use RS232, some GPIB and some TCP/IP. We are using a middleware for that. It abstracts industrial devices and their protocols away, so that the application(s) would not care where the process variables read and written come from. But it is a commercial product. And of course RS232, GPIB, TCP/IP is as much telling as ISA, PCI, PCIe. The proper description should include the application level and everything down to the transport, e.g. Steale autopilot, AK (list of commands, their semantics), over TCP/IP. If you want to communicate industrial devices, TCP/IP would be your least problem. You need a middleware to decouple device-specific stuff from the application logic. > Could you recommend a software project that gets socket programming done > right? I guess there exit some open source examples, e.g. AWS (though I did see its sources.) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de