Click here to Skip to main content
13,006,221 members (59,382 online)
Rate this:
Please Sign up or sign in to 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. 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-Jul-13 20:10pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please do not post the the same question[^] in multiple forums.
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 you have the answer?
Richard MacCutchan 2-Jul-13 4:17am
H.Brydon 2-Jul-13 12:03pm
Please do not post a non-solution as a solution.
Richard MacCutchan 2-Jul-13 12:18pm
It's a notice to the OP, and a solution entry, with a link to the duplicate, to remove it from the unanswered queues, which is correct procedure.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170628.1 | Last Updated 2 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100