iosend: now allows arbitrary input and output buffer addresses