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-Received: by 2002:ac8:109:: with SMTP id e9mr19520815qtg.233.1572980805514; Tue, 05 Nov 2019 11:06:45 -0800 (PST) X-Received: by 2002:a9d:4c07:: with SMTP id l7mr24651276otf.206.1572980805263; Tue, 05 Nov 2019 11:06:45 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!j16no3140518qtl.0!news-out.google.com!g53ni779qtg.0!nntp.google.com!j16no3140516qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 5 Nov 2019 11:06:45 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.5.2.231; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.231 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3fa8ea28-265b-4375-8c42-af8cafc4d11f@googlegroups.com> Subject: Socket & Multicast problems / GNAT.Sockets From: Shark8 Injection-Date: Tue, 05 Nov 2019 19:06:45 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2072 X-Received-Body-CRC: 151672239 Xref: reader01.eternal-september.org comp.lang.ada:57496 Date: 2019-11-05T11:06:45-08:00 List-Id: Ok, I have a system at work that is using custom methods, both TCP and UDP,= and multicast / unicast. Now, I am getting stumped with the GNAT.Sockets t= ranslation of the equivalent connections, probably because I've not used So= ckets before and most of the examples I've tried haven't worked. Most of the messages can, I think, be mapped out to Ada's records fairly ea= sily but that's getting ahead of myself =E2=80=94 what I'm having trouble w= ith is getting a socket to receive from the proper multicast address[es] = =E2=80=94 there is a note in the GNAT.Sockets example [which isn't working]= that joining a multicast-group has to be set as an option subsequent to bi= nding the socket when running on Windows. (Is there a better package/library for operating on sockets? I've done a li= ttle searching, but I haven't found anything that looks particularly good.)