Use the following functions to ensure that an application receives notification of certain network events.
Use the NotifyAddrChange function to request notification of any change that occurs in the mapping between IP addresses and interfaces on the local computer.
Similarly, the NotifyRouteChange function enables an application to request notification of any change that occurs in the IP routing table.
The notifications provided by these functions do not specify what changed; they simply specify that something changed. Use other IP Helper functions, such as GetIPAddrTable and GetBestRoute, to determine the exact nature of the change.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
