[Vm-dev] [commit] update resolver local address discovery;
it seem gethostbyaddr has been compromised by OS changes recently.
tim at rowledge.org
Thu Nov 5 20:57:18 UTC 2015
> 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.
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
The world is not magic
More information about the Vm-dev