Hi All,

I'm having a strange Socket problem. I wrote a little FTP tool using
asynchronous sockets. While connecting to a certain FTP server
(actually a printer to which I print by FTP'ing a control file) I get a
weird error when I call EndConnect:

"No connection could be made because the target machine actively refused it"

But the strange thing is that if I don't call EndConnect at all, it
works and I can upload just fine. I guess I don't understand what
EndConnect really does. I have hunted all over the web and find lots of
documentation that says basically that it ends the connection that you
start with BeginConnect, but what does it really DO? And why would I
get an error when calling it but have the FTP server work anyway if I
just omit the call? Any ideas here? TIA.

Cheers,
Josh