TransmitFile发送超过2GB资料

TransmitFile发送超过2GB文件
谁能给我写一段TransmitFile发送大于2GB文件的代码(MFC),主要就是发送端,接受端可以不管。

------解决方案--------------------
TransmitFile发送超过2GB资料
一样 - -.传递一个file handle
------解决方案--------------------
这里有很多socket例子,拿一个修改一下吧:
http://download.csdn.net/detail/geoff08zhang/4571358
------解决方案--------------------
nNumberOfBytesToWrite 
The number of bytes in the file to transmit. The TransmitFile function completes when it has sent the specified number of bytes, or when an error occurs, whichever occurs first. 

Set this parameter to zero in order to transmit the entire file.


这个参数设置为0能行不