[Vm-dev] [commit] update resolver local address discovery;
it seem gethostbyaddr has been compromised by OS changes recently.
tim at rowledge.org
Mon Nov 16 01:31:35 UTC 2015
> On 15-11-2015, at 4:08 PM, David T. Lewis <lewis at mail.msen.com> wrote:
> On Thu, Nov 05, 2015 at 12:57:18PM -0800, tim Rowledge wrote:
>>> On 05-11-2015, at 12:53 PM, commits at squeakvm.org wrote:
>>> Revision: 3485
>>> Author: rowledge
>>> Date: 2015-11-05 12:53:44 -0800 (Thu, 05 Nov 2015)
>>> Log Message:
>>> update resolver local address discovery; it seem gethostbyaddr has been compromised by OS changes recently. Change to using ifgetaddrs and scanning for eth0 or wlan0 addresses, which looks like a good change on Raspbian at least.
>> I???m very much a guess-and-hope guy when it comes to sockets, so please offer any improvements you can think of.
> Hi Tim,
> I just committed a small patch (in SVN trunk and oscog) for UDP connect that
> makes Bert's approach work:
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Homeopathy: Logic diluted, to make it stronger....
More information about the Vm-dev