I wanted to create my own socket classes for future network programming in C++ and got disuaded shortly after, now I'm returning to it after solving a few problems. I do have one question to ask whilst carrying on.
I am trying to add a few features to give programming flexibility without re-inventing the wheel so to speak.
I was wondering if I could duplicate the sockaddr_in struct into a class in C++ and use it or can I derive classes that inherit from the struct itself. I once read somewhere that structs and classes were similar.