• Rob Swindell's avatar
    Place socket error description at the end of the logged messages. · 35435a96
    Rob Swindell authored
    Socket error descriptions on Windows can be quite long (e.g. > 128 chars) and
    include punctuation, so include at the end of logged socket error messages.
    If FormatMessage() fails on Windows (in socket_strerror()) return the
    GetLastError() value in the error description.
sockwrap.c 14 KB