![]() |
Handle network change - Printable Version +- OpenHome Forum (http://forum.openhome.org) +-- Forum: OpenHome (/forumdisplay.php?fid=1) +--- Forum: Net (/forumdisplay.php?fid=5) +--- Thread: Handle network change (/showthread.php?tid=1395) |
RE: Handle network change - simonc - 11-09-2015 03:16 PM (01-09-2015 08:13 AM)SiMet Wrote: EDIT: Do you mean that following a call to Library::RefreshNetworkAdapterList(), DviProtocolUpnp::HandleInterfaceChange() is called before DviServer::SubnetListChanged()? This would explain the issues you're seeing but I can't see why it'd happen. RE: Handle network change - SiMet - 14-09-2015 08:15 AM Yes, you're right. HandleInterfaceChange() is called before SubnetListChanged(). I do not know why it'd happen. RE: Handle network change - simonc - 28-09-2015 02:12 PM (14-09-2015 08:15 AM)SiMet Wrote: Yes, you're right. HandleInterfaceChange() is called before SubnetListChanged(). I do not know why it'd happen. I've pushed some changes that should help ensure callbacks are run in the order they were registered in. Can you try the latest ohNet code to see if it fixes your issues please? |