I am trying to replace send() with writev() to eliminate a copy operation in the network code. I know with send there needs to be logic for partial writes, is this also true for writev? Are there any guarantees about an entire iov block being written at each write? It seems like the code for partial writes on a writev would be alot more complex than the basic loop that can be used for a send...
Thanks for any info.