RFC 1413 [L1 ] specifies an "identification protocol" to answer the question, "who services port NN on host HH?"
Philip Moore has written a client that he likely will contribute to tcllib around June 2003.