a744f9a app: Inform user about connection failure

Authored and Committed by pgrunt 7 years ago
    app: Inform user about connection failure
    
    Use errno to get the reason of the failure
    
    Resolves:
    https://bugzilla.redhat.com/show_bug.cgi?id=1377100
    
        
file modified
+11 -4