Hello!
I've been batting my head against the wall for 2 months with a similar problem but have finally solved it.
If you send me your email address, I'll send you a bare socket client/server program in VB6. It's "bare" because I removed all the processing of exchanged files in the real version and just return a test file sent from the server. There's also a README.TXT file included which reveals some of the MADDENING things about Winsock for those of us without a PHD in socket programming.
Unlike "demo" programs that are driving you crazy, this doesn't type "Hello!" back and forth to each screen! This program (stripped of its actual file processing) is an actual program used in e-commerce today.
Best regards,
Dave