This may not be the proper spot to post, but I figured it was a good starting
point. I also suspect this may be dependent upon the actual Ethernet device
driver, and not an industry standard. That being said:
When data is transferred across an Ethernet connection using, say a TCP-IP
socket connection, the end caller issues a receive call, and passes in a
pointer to a buffer where the data is written.
My question is:
a) Is the data being transferred ONLY written into that buffer which is
passed in, or
b) is there an intermediate buffer contained w/in the driver to store the
data as it is transferred across the medium (and then copied into the buffer
passed in on the receive call)?
I am trying to minimize copies in my code, because I have large amounts of
data being transferred. Again, I realize that this may be totally dependent
upon the ethernet card being used, I just was curious if there was an
industry standard, or some underlying protocol/handshaking to which I was not
aware of.
Thanks.