You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Prasad Venkata Boddupalli <bp...@CS.Arizona.EDU> on 2004/05/03 09:32:04 UTC

Disabling TransmitFile() function

Hello,

I am building a message protocol on top of TCP for which I modified the 
WSASend() and its sister functions to attach a header to every packet and 
WSARecv() functions to recognize the header. Since I cannot do the same 
with the TransmitFile() and AcceptEx() functions, I need to disable them. 
I realized that the directive Win32DisableAcceptEx does the trick for  
AcceptEx() function. But, how can I disable TransmitFile() function and 
force the server to use regular WSASend() function?

thanks for any hints,
Prasad.


Re: Disabling TransmitFile() function

Posted by Jeff Trawick <tr...@attglobal.net>.
Prasad Venkata Boddupalli wrote:

>       But, how can I disable TransmitFile() function and 
> force the server to use regular WSASend() function?

EnableSendfile Off

Re: Disabling TransmitFile() function

Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 3 May 2004, Prasad Venkata Boddupalli wrote:
> I am building a message protocol on top of TCP for which I modified the
> WSASend() and its sister functions to attach a header to every packet and
> WSARecv() functions to recognize the header. Since I cannot do the same
> with the TransmitFile() and AcceptEx() functions, I need to disable them.
> I realized that the directive Win32DisableAcceptEx does the trick for
> AcceptEx() function. But, how can I disable TransmitFile() function and
> force the server to use regular WSASend() function?

EnableSendfile Off

Joshua.