comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: UDP Send gets NETWORK_IS_UNREACHABLE
Date: Wed, 4 Jul 2018 15:31:17 +0200
Date: 2018-07-04T15:31:17+02:00	[thread overview]
Message-ID: <phii74$1698$2@gioia.aioe.org> (raw)
In-Reply-To: a1b2fcc4-6a5c-4894-998f-738027d19dd0@googlegroups.com

On 2018-07-04 13:11, Petter Fryklund wrote:
> GNAT works fine on Linux except for broadcast with many network interfaces.

You should bind the socket to the host's network address corresponding 
to the interface where you want to broadcast instead of

    Addresses (Get_Host_By_Name (<my host name>), 1)

which is the first interface found. You might have the interface of 
interest second or third in the Addresses list.

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

      parent reply	other threads:[~2018-07-04 13:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03 10:43 UDP Send gets NETWORK_IS_UNREACHABLE Petter Fryklund
2018-07-03 12:07 ` alby.gamper
2018-07-04  9:53   ` Petter Fryklund
2018-07-03 12:16 ` Dmitry A. Kazakov
2018-07-04  9:50   ` Petter Fryklund
2018-07-04 10:23     ` Dmitry A. Kazakov
2018-07-04 11:11       ` Petter Fryklund
2018-07-04 13:07         ` Petter Fryklund
2018-07-04 13:42           ` Dmitry A. Kazakov
2018-07-06  5:31             ` Petter Fryklund
2018-07-06  7:23               ` Dmitry A. Kazakov
2018-07-06  8:10                 ` Petter Fryklund
2018-07-08 15:28                   ` Simon Wright
2018-07-06  8:12                 ` Petter Fryklund
2018-07-06  8:28                   ` Dmitry A. Kazakov
2018-07-06  8:48                     ` Petter Fryklund
2018-07-06 18:46                       ` Simon Clubley
2018-07-06  8:24                 ` Petter Fryklund
2018-07-04 13:31         ` 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