Whoopee, not working on that socket library for the moment. I\'m trying to educate myself a little more in C++.
With classes, is there a way to make a variable read-
You may want to mimic C# properties for access (depending what you're going for, intended environment, etc.).
class Foo { private: int bar; public: __declspec( property( get = Getter ) ) int Bar; void Getter() const { return bar; } }