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,FORGED_GMAIL_RCVD, FREEMAIL_FROM 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.66.82.195 with SMTP id k3mr2038263pay.23.1344880568882; Mon, 13 Aug 2012 10:56:08 -0700 (PDT) Path: c10ni111705pbw.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Marc C Newsgroups: comp.lang.ada Subject: Re: Ada Networking (General/Design) Date: Mon, 13 Aug 2012 10:54:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: <14f67cad-6b56-4c62-acbd-0c9488a4676b@googlegroups.com> References: <08540a65-8d88-4042-b021-52c49b2e6772@googlegroups.com> <2de69490-cbc2-4f58-af8a-db5bee3fd665@googlegroups.com> NNTP-Posting-Host: 134.223.230.200 Mime-Version: 1.0 X-Trace: posting.google.com 1344880566 26743 127.0.0.1 (13 Aug 2012 17:56:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 13 Aug 2012 17:56:06 +0000 (UTC) Cc: mailbox@dmitry-kazakov.de In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=134.223.230.200; posting-account=mjE6MAoAAADjsB3NIuKgfHO4u-Elh3cb User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-08-13T10:54:35-07:00 List-Id: On Monday, August 13, 2012 8:31:31 AM UTC-5, Dmitry A. Kazakov wrote: > On Mon, 13 Aug 2012 06:12:23 -0700 (PDT), Marc C wrote: >=20 > > After years of working with TCP/IP sockets, my favorite approach now is= ...not to. Not directly anyway. > > Hmm, there is not that many things you needed to manage sockets. Setting = or > clearing TCP_NO_DELAY is not a huge problem, or? While I'd extract the socket code from an earlier project for reuse, it alw= ays needed to be modified a bit to get integrated into the new one. It just= gets tedious after awhile. So adopting a more abstract, pre-existing trans= port protocol just eliminated the need to deal with that. > > Among them are ZeroMQ (http://www.zeromq.org), > Does this really implement protocols, e.g. DLMS, ModBus etc? Nope, ZeroMQ is essentially just a transport layer, which is all the functi= onality I wanted of it, so that I could stop having to mess around with soc= kets. TOMI_4_Ada essentially arose out of my desire to have a simple, consistent = Ada library for text-oriented message interfaces. My projects rarely have a= ny need for extensive or high performance protocols, so a nice clean set of= client/server and topic-supportive publish/subscribe services meets my nee= ds. Marc