IpPort
static int IpPort(char *, int, int *);
err = IpPort(str_port, proto, &proxy_port);
err = IpPort(str_server_port, proto, &server_port);