msg_iov implementation