Bert Freudenberg wrote:
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.
Bummer. I thought you were saying that there was "one" primitive that would do it, not two dozen ;-) Unfortunately, adding the whole IPv6 stuff is not an option at this point; we're too close to release for that. I think I'll go through the code and try to see how to fold this into an isolated function - does it work in the OLPC image?
Cheers, - Andreas