extract_port
int extract_port(char *str, short *port_ptr);
if (!extract_port(arg, &s_server_config.port))