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