comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Socket & Multicast problems / GNAT.Sockets
Date: Tue, 5 Nov 2019 11:06:45 -0800 (PST)
Date: 2019-11-05T11:06:45-08:00	[thread overview]
Message-ID: <3fa8ea28-265b-4375-8c42-af8cafc4d11f@googlegroups.com> (raw)

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 translation of the equivalent connections, probably because I've not used Sockets 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 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.

(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.)


             reply	other threads:[~2019-11-05 19:06 UTC|newest]

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