[Xastir] Networking issue for Cygwin
easternontariotracks at gmail.com
easternontariotracks at gmail.com
Sun Oct 31 17:01:19 PDT 2021
That works! I take it this confirms the specified values are working and
the issue is with the contents of the rest of the structure. Documentation
suggests the other hints fields should be 0 or null pointers, so I added a
test on the three pointer fields { as for example
(hints.ai_addr==NULL)?"Null":"Not null" } and without the memset hack they
all turn up "Not null". Could this mean Cygwin is initializing the
structure in an unusual way?
Thanks,
Russ
-----Original Message-----
From: Xastir <xastir-bounces at lists.xastir.org> On Behalf Of Jason Godfrey
Sent: October 31, 2021 1:14 PM
To: Xastir - APRS client software discussion <xastir at lists.xastir.org>
Subject: Re: [Xastir] Networking issue for Cygwin (and possible solution)
Hello.
Could you try doing a memset to 0 of hints in net_init before the hints
fields are set and see if that helps? In my copy it is line 3457 in
interface.c.
Thanks
- Jason
More information about the Xastir
mailing list