return ntohs(se->s_port);
return p_ntohs(se->s_port);
int net_service_lookup(char *service){    struct servent *se;    se = getservbyname(service, NULL);    if (se != NULL)	return ntohs(se->s_port);    else	return 0;}