jselbie/stunserver — pull request #11 by formula1 (2014-12-13 05:57:52+00:00)
Title: One config argument and configuration file building

This was more difficult than I thought, though the work is nearly the exact same.

* Created the NodeStun_Args file so that the main file would be a little bit cleaner
* NodeStun_Args::ThreeArgs is in its own function but still available
* NodeStun_Args::OneArgs is a very simple function but I figured I'd still implement it
* Parsing the Configuration Object in a smillar manner to main::BuildServerConfigurationFromArgs and building a ServerConfig Structure within NodeStun_Args::Object2Config
* A recursive test (took about 5 minutes). It ends at the first error. I'm testing every combination including if the setting exists but the value is void and is the setting doesn't exist at all.
* I'm currently printing all the time within c++. This is can be solved by implementing the logger. However, I haven't taken the time to implement it yet.