SLP (Service Location Protocol) is a network service discovery protocol, in the same vein as Bonjour, ZeroConf, UPnP, etc.
IBM developerWorks has a nice article which covers the basics of SLP and shows some example programs using an open-source implementation called OpenSLP.