I'm currently using the TransmitFile function for a multithread app and some points arent quite clear for me:

Who will close the file I have opened for Transmitfile? And if my prog has to close it, when can to possibly be done? Do I have to wait (with calling HasOverlappedIOFinished or so) until file transfer is finished?

Similar question about the socket parameter. Do I have to wait with HasOverlapped... until I can use it again?

Thanks in advance

Posted on 2002-12-26 13:48:12 by japheth