I remember having seen a class written for the Winsock Control. The class has a private Winsock control class object declared With Events, delegated all methods to that object, raised all events from the events of the contains Winsock class object, and exposed additionally, a pointer to point to an instance of an actual Winsock Control that could be placed on any form in the application. This facilitated sharing the control accross all forms. It also had error handling done within the container class.
I do not wish to spend time writing the whole thing and reinventing the wheel. Can anyone please point me to that link or the zip or cls file on the Net?