more windows conditions on socket ref