From: Petter Fryklund <petter.fryklund@atero.se>
Subject: Re: UDP Send gets NETWORK_IS_UNREACHABLE
Date: Fri, 6 Jul 2018 01:48:34 -0700 (PDT)
Date: 2018-07-06T01:48:34-07:00 [thread overview]
Message-ID: <45524b25-450f-4d66-a260-ae9a94adeffd@googlegroups.com> (raw)
In-Reply-To: <phn96n$s26$1@gioia.aioe.org>
Sorry, I got all mixed up. The socket that will send is created by getting it's IP from Get_Host_By_Name index 1. In this case 127.0.0.1:33333. Then when we try to broadcast to 192.168.255.255 we get the NETWORK_IS_UNREACHABLE, maybe because Linux doesn't know which interface to use. So we need to supply the correct IP, 192.168.0.20 somewhere in our class hierarchy, some 5 levels deep.
Regards,
Petter
next prev parent reply other threads:[~2018-07-06 8:48 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 [this message]
2018-07-06 18:46 ` Simon Clubley
2018-07-06 8:24 ` Petter Fryklund
2018-07-04 13:31 ` 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