comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Socket & Multicast problems / GNAT.Sockets
Date: Tue, 5 Nov 2019 21:45:28 +0100
Date: 2019-11-05T21:45:28+01:00	[thread overview]
Message-ID: <qpsn16$1gpc$1@gioia.aioe.org> (raw)
In-Reply-To: 94193ebc-5772-41b1-919f-df13621171e8@googlegroups.com

On 2019-11-05 21:11, Shark8 wrote:
> On Tuesday, November 5, 2019 at 12:57:07 PM UTC-7, Dmitry A. Kazakov wrote:
>> On 2019-11-05 20:06, Shark8 wrote:
>>
>>> Most of the messages can, I think, be mapped out to Ada's records fairly easily but that's getting ahead of myself — what I'm having trouble with is getting a socket to receive from the proper multicast address[es] — 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 binding the socket when running on Windows.
>>
>> Did you check this:
>>
>> 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.
> 
>>
>> P.S. I don't know what the example above does exactly. E.g. if it
>> configures an IGMP group and runs PGM on it. Is it PGM what you want to use?
> No, I don't think so.
> It's essentially a custom protocol / message-system used at a particular installation of the NSO.

PGM is a stream-oriented multicast just like TCP is stream-oriented 
unicast. You put your protocol on top of it.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


      reply	other threads:[~2019-11-05 20:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-05 19:06 Socket & Multicast problems / GNAT.Sockets Shark8
2019-11-05 19:10 ` Shark8
2019-11-05 19:57 ` Dmitry A. Kazakov
2019-11-05 20:11   ` Shark8
2019-11-05 20:45     ` Dmitry A. Kazakov [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox