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=1.0 required=5.0 tests=BAYES_00,DATE_IN_PAST_24_48, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,ff1f0403676a2300 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.236.173.193 with SMTP id v41mr11155028yhl.0.1344998913203; Tue, 14 Aug 2012 19:48:33 -0700 (PDT) Path: c6ni115620301qas.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!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 15:31:31 +0200 Organization: cbb software GmbH Message-ID: References: <08540a65-8d88-4042-b021-52c49b2e6772@googlegroups.com> <2de69490-cbc2-4f58-af8a-db5bee3fd665@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.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-13T15:31:31+02:00 List-Id: On Mon, 13 Aug 2012 06:12:23 -0700 (PDT), Marc C wrote: > On Monday, August 13, 2012 7:33:28 AM UTC-5, Patrick wrote: > >> Does anyone have a favourite approach to TCP/IP ? > > After years of working with TCP/IP sockets, my favorite approach now is...not to. Not directly anyway. > > There are higher-level messaging protocols that handle most, if not all, > of the socket management details for you. Hmm, there is not that many things you needed to manage sockets. Setting or clearing TCP_NO_DELAY is not a huge problem, or? > Among them are ZeroMQ (http://www.zeromq.org), Does this really implement protocols, e.g. DLMS, ModBus etc? I didn't read the documentation, but it looks rather like some text messaging or middleware stuff on top of some transport like TCP, than a protocol implementation generator tool (if that were possible). > If I never have to write another setsockopt(), c_select(), and accept() again, I'll be very happy :-) If Ada provided higher level socket library with an integrated support of protected objects and tasks... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de