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 20:57:02 +0100
Date: 2019-11-05T20:57:02+01:00	[thread overview]
Message-ID: <qpsk6c$146k$1@gioia.aioe.org> (raw)
In-Reply-To: 3fa8ea28-265b-4375-8c42-af8cafc4d11f@googlegroups.com

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

> (Is there a better package/library for operating on sockets? I've done a little searching, but I haven't found anything that looks particularly good.)

GNAT.Sockets is medium to thin bindings. There are sources so you can 
check yourself what GNAT.Socket does relatively easily. You can also 
extend it sometimes. For example, there is no SocketCAN support there, 
but that works anyway.

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?

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

  parent reply	other threads:[~2019-11-05 19:57 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 [this message]
2019-11-05 20:11   ` Shark8
2019-11-05 20:45     ` Dmitry A. Kazakov
replies disabled

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