IPADDRSTRLEN
char ipaddr[IPADDRSTRLEN]; /* ip address string */
#define PORTALSTRLEN (IPADDRSTRLEN+16) /* add space for :port,tag */