• louiz’'s avatar
    Avoid leaking socket filedescriptors · 0620c8e5
    louiz’ authored
    When trying the various results of getaddrinfo, we forgot to close the
    socket when one fails, before trying the next one.
    
    Also use the destructor to make sure we do not have some other unrelated
    leak.
    0620c8e5
tcp_socket_handler.hpp 8.29 KB