Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone,

I am trying to implement zero copy mechanism i.e. a contrary function to the TransmitFile() API.
But I don't know how to register buffers in kernel.Below are the details what I want to do to implement zero copy:

1.we will receive a large data from the server in our client buffer, i have a doubt here also that weather data will come to socket buffer(client's) or first it will come into NIC buffer,please clear this doubt also.

2.now from socket buufer i want to copy the data directly to the kernel buffer and then to file in the disc without going for read and write system calls i.e without switching contexts.

3.Data has to be moved directly to kernel buffer within kernel space only.

Is there any API or some method???? any suggestions???
Posted

1 solution

Please do not post the the same question[^] in multiple forums.
 
Share this answer
 
Comments
Satya144 2-Jul-13 3:49am    
well i want the solution so i posted it in many forums.
Richard MacCutchan 2-Jul-13 4:03am    
Well that is not the way to get the answer; please play by the rules.
Satya144 2-Jul-13 4:04am    
ok leave that matter...do you have the answer?
Richard MacCutchan 2-Jul-13 4:17am    
No.
H.Brydon 2-Jul-13 12:03pm    
Please do not post a non-solution as a solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900