blob: b9358836782dda98a095aee521863dc68ab590e9 [file] [log] [blame]
package main
import (
"fmt"
"log"
"veyron/runtimes/google/lib/netconfig"
)
func main() {
w, err := netconfig.NewNetConfigWatcher()
if err != nil {
log.Fatalf("oops: %s", err)
}
fmt.Println("Do something to your network. You should see one or more dings.")
for {
<-w.Channel()
fmt.Println("ding")
}
}