• Enrico Tröger's avatar
    Windows: Use SO_EXCLUSIVEADDRUSE flag for IPC socket · 690df746
    Enrico Tröger yazdı
    SO_REUSEADDR on Windows allows to bind to an already used port
    without an error. This way we never notice if the port is already used.
    So use the Windows special flag SO_EXCLUSIVEADDRUSE to ensure we receive
    an error if the port is already used.
    
    Part of #641.
    690df746
socket.c 21.5 KB