Is that your class module did you write that?

I cant get through all the code and since i am not familiar with that class i cant help much, why dont you write this yourself rather than using that class? if your new to winsock then this isnt a great way to start that class can be very confusing :???:

Pino