Welcome to MSDN Blogs Sign in | Join | Help

A ticket without solution and workaround

not actually an official blog
TransmitFile takes long time to send data

How long? haf day or maybe one day. You may encounter the symptom when calling TransmitFile to send a file from one socket to another socket.  There are many possible reasons may make TransmitFile hang, before you capture kernel dump, update NIC driver, close firewall, remove 3rd party LSP, remove network filter driver, you might want to check one simple setting in the first place:

1. Open device manager

2. Expand the tree and go to NIC node

3. Open "properties" of the NIC device

4. Find "Speed and Duplex" settings in "advance" tab, check whether it is "auto". If not, change it back to auto

5. Test your program again

 

Posted: Saturday, August 30, 2008 6:13 AM by atckt
Filed under:
Anonymous comments are disabled
Page view tracker