A c++ app framework and two sample app: softphone and log server