nlGetServiceName

nlGetServiceName

nl

1998 12-06


NAME

nlGetServiceName - get service name for a specified port number and protocol


SYNOPSIS

long nlGetServiceName(char *servicename,long namelength,uint16 port, char *protocol)

nlGetServiceName() get service name from port number and protocol name. nlGetServiceName() put the service name on servicename the legnth is specified by namelength. Return TRUE on success, FALSE on failure.


ARGUMENTS


servicename the service name
namelength the length of servicename
port the port number
protocol the protocol name