These functions assume that sockets are file descriptors, never worked properly on Windows. See also 3841c085.