myaddr_open
if (!myaddr_open((struct sockaddr *) &cfg->addr, cfg->udp_encap))
myaddr_open(addr, FALSE);
myaddr_open(addr, TRUE);