[Vm-dev] Finding ip address for eth0?

Bert Freudenberg bert at freudenbergs.de
Wed Aug 26 20:41:26 UTC 2009


On 26.08.2009, at 22:27, Andreas Raab wrote:

> Bert Freudenberg wrote:
>> What got implemented though is a primitive to list all interfaces  
>> that are available. Hosts do not have IP addresses, interfaces do.  
>> And since hosts typically have multiple interfaces, it's not really  
>> up to the VM to pick one, but the application.
>
> What's the primitive? How do I use it? Any examples?


There are examples and tests in the image ... it's part of the IPv6  
work, which did not only add IPv6 support but generalized the Socket  
support. Not sure exactly which method it would be.

- Bert -




More information about the Vm-dev mailing list