a) When read(2) returns, is it sure that the other side has recieved the whole buffer passed to read(2)?
b) If i have a loop which write(2) one byte at each itteration, the kernel sends many tcp packets each one containing one byte of userfull data?
c) An ACK is sent when the kernel receives a tcp packet or when a userspace read(2) from the socket occurs?
Thank you in advance.
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/