• Magnus Hagander's avatar
    Create typedef pgsocket for storing socket descriptors. · 87091cb1
    Magnus Hagander authored
    This silences some warnings on Win64. Not using the proper SOCKET datatype
    was actually wrong on Win32 as well, but didn't cause any warnings there.
    
    Also create define PGINVALID_SOCKET to indicate an invalid/non-existing
    socket, instead of using a hardcoded -1 value.
    87091cb1
auth.c 62.2 KB