Advice on Extending Winsock Control
I've decided to try extending the winsock control instead of creating a separate array of infos relevant to each instance of the socket. My option at the moment is:
--- Make a winsock control array
--- Create a collection for extend class
--- Create a new instance of extend class for each loaded instance of winsock then add to collection
--- Set reference to relevant winsock instance for created extend class instance
Is there a better way? Such as declaring a socket object in the extend class? Then making a collection of that class?
Please bear with me since I've just read about classes and collections overnight. Hope you can help.