Diameter
User's Guide
Version 2.0
Example code can be found in the diameter application's examples subdirectory.