Example #1
0
func startZBus(nnzbus *nn.Socket, addr string) {

	_, err := nnzbus.Bind(addr)
	if err != nil {
		fmt.Printf("could not bind addr '%s': %v", addr, err)
		panic(err)
	}
	fmt.Printf("[pid %d] gozbus server: startZbus bound endpoint '%s'.\n", os.Getpid(), addr)
}