using single iovec ptr instead of array of ptrs