Often program is tcpd. This is the tcp wrapper which do basic security checks. Otherwise any program which handle incoming requests can be used. The manual page of the specific program must be consulted.
If the tcp wrapper tcpd is the program used, then the server program to use is specified in the arguments.
A special case is program patch internal. This value is used if the service is built in (in inetd).