On 08/09/18 14:20, Julian Orth wrote: > On 9/8/18 4:03 PM, Aaron Jones wrote: >> Does this handle file descriptor 0 (unlikely, but perfectly valid) ? > > I believe so. Ah, so it does; I misread the start of set_socket(). My apologies.