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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:df0d:: with SMTP id w13-v6mr3939186iog.32.1530864765356; Fri, 06 Jul 2018 01:12:45 -0700 (PDT) X-Received: by 2002:aca:c6ca:: with SMTP id w193-v6mr2073409oif.1.1530864765201; Fri, 06 Jul 2018 01:12:45 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.69.MISMATCH!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g2-v6no316865itf.0!news-out.google.com!l67-v6ni3498itl.0!nntp.google.com!d7-v6no3392970itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 6 Jul 2018 01:12:44 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=136.163.203.6; posting-account=g0yTkgoAAADdZGEYyZahxGlO3EkjH0Wv NNTP-Posting-Host: 136.163.203.6 References: <10ab697c-0f8d-4896-bf4e-44d01f685139@googlegroups.com> <14e32fbe-c090-480b-8f04-d6675834efbd@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: UDP Send gets NETWORK_IS_UNREACHABLE From: Petter Fryklund Injection-Date: Fri, 06 Jul 2018 08:12:45 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2333 X-Received-Body-CRC: 1931307399 Xref: reader02.eternal-september.org comp.lang.ada:53684 Date: 2018-07-06T01:12:44-07:00 List-Id: Den fredag 6 juli 2018 kl. 09:23:47 UTC+2 skrev Dmitry A. Kazakov: > On 2018-07-06 07:31, Petter Fryklund wrote: > > This is getting weirder. Get_Host_By_Name returns two addresses, 127.0.0.1 and 127.0.0.1. The broadcasts are going to a very narrow network ;-) > > You have the network setting broken. I believe I had such a problem with > a Linux box and resolved it. I forgot what was it. > > But you can always set the address manually instead of Get_Host_By_Name, > e.g. Inet_Addr ("192.168.2.100") etc. This is related to what we do, setting the broadcast address to 192.168.255.255, which results in NETWORK_IS_UNREACHABLE. > > -- > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de Regards, Petter