commit | c29efe38de3592b9ec11d314613d7a63126cddbf | [log] [tgz] |
---|---|---|
author | database64128 <free122448@hotmail.com> | Thu Oct 31 11:17:53 2024 +0000 |
committer | Quim Muntal <quimmuntal@gmail.com> | Tue Nov 05 07:10:30 2024 +0000 |
tree | e7849bb6de92da160ab4e6f94b6af2c5c903d691 | |
parent | 8f2aa9fb488f140f155cdc02b438533a5c75eeed [diff] |
windows: add iphlpapi functions for change notifications The NotifyIpInterfaceChange and NotifyUnicastIpAddressChange functions register a user-defined callback function for receiving network interface and IP address change notifications. The GetIfEntry2Ex and GetUnicastIpAddressEntry functions can be called to retrieve complete information about the changed interface or address. The CancelMibChangeNotify2 function deregisters for change notifications. Change-Id: Iee29405ffa135c6aa0120f9aa046e3706e2bac47 GitHub-Last-Rev: a8309cd81a33dc4cf93474db537f35165318b12f GitHub-Pull-Request: golang/sys#211 Reviewed-on: https://go-review.googlesource.com/c/sys/+/603755 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com>
This repository holds supplemental Go packages for low-level interactions with the operating system.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/sys.
The main issue tracker for the sys repository is located at https://go.dev/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.