kallisti5@xxxxxxxxxxx wrote: > +void > +NetworkSettings::SetIP(int family, const char* ip) > +{ > + if (family == AF_INET6) > + fIPv6Addr = ip; > + else > + fIPv4Addr = ip; As a suggestion for improvement: why hard-code the families? BNetworkAddress is completely family agnostic, and while the UI arguably cannot be, the NetworkSettings surely can and should. You could just use a map, list, or even a multimap to store them, depending on how you want to implement it. Bye, Axel.