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:3225:: with SMTP id x34mr19567922qta.190.1572984693518; Tue, 05 Nov 2019 12:11:33 -0800 (PST) X-Received: by 2002:a9d:7219:: with SMTP id u25mr23640991otj.342.1572984693349; Tue, 05 Nov 2019 12:11:33 -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!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!j16no3311204qtl.0!news-out.google.com!g53ni782qtg.0!nntp.google.com!j16no3311201qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 5 Nov 2019 12:11:33 -0800 (PST) In-Reply-To: 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 References: <3fa8ea28-265b-4375-8c42-af8cafc4d11f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <94193ebc-5772-41b1-919f-df13621171e8@googlegroups.com> Subject: Re: Socket & Multicast problems / GNAT.Sockets From: Shark8 Injection-Date: Tue, 05 Nov 2019 20:11:33 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2382 X-Received-Body-CRC: 1281815578 Xref: reader01.eternal-september.org comp.lang.ada:57499 Date: 2019-11-05T12:11:33-08:00 List-Id: On Tuesday, November 5, 2019 at 12:57:07 PM UTC-7, Dmitry A. Kazakov wrote: > On 2019-11-05 20:06, Shark8 wrote: >=20 > > Most of the messages can, I think, be mapped out to Ada's records fairl= y easily but that's getting ahead of myself =E2=80=94 what I'm having troub= le with 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 workin= g] that joining a multicast-group has to be set as an option subsequent to = binding the socket when running on Windows. >=20 > Did you check this: >=20 > https://stackoverflow.com/questions/58151208/receiving-multicast-traffic-= using-gnat-sockets Ah, I had not seen this one; but I did look around on StackOverflow. >=20 > P.S. I don't know what the example above does exactly. E.g. if it=20 > configures an IGMP group and runs PGM on it. Is it PGM what you want to u= se? No, I don't think so. It's essentially a custom protocol / message-system used at a particular in= stallation of the NSO.