Read and respond to this message at:
I wrote a program that scans FTP servers' directories. It uses winsock.h.
While scanning everything is OK, but after 10-20 minutes select() gives an answer
that there's data to receive, but recv() blocks, so the program hangs. I use
exception set too, but it says there's no exception. I use the macros FD_ZERO,
FD_SET, FD_ISSET etc., I handle errors.
Is it possible that the FTP server disconnects and select() can't see it? How
can I detect a remote disconnection?
Thanks in advance,
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: