It'd be easier to just get a live cd and run wireshark/tcpdump/w.e ur flavor of Packet sniffer is if that's what your looking for. Better than doing it on windows/mac. And for C++ doesn't have reflection. The best I've seen is here
http://www.garret.ru/cppreflection/docs/reflect.html . Though like it states, there are better ways of getting the information.
By "Live CD" I mean w.e flavor of *nix cd you want. And yes It's possible to do on Windows, just more complicated and tbh way more of a hassle than just burning a cd. Plus it looks nicer in *nix :)