copyfd_io
err = copyfd_io(fd, remotesock, 1, true, &winfo);
ret = copyfd_io(fd_in, fd, 1, 0, &winfo);