Write queue after connect windows

I believe I did, though GitHub erased all comments. I explicitly mentioned Unix did it that way, and Unix doesn't use an int.