f102c71 rpc: socket: Minor cleanups

Authored and Committed by crobinso 8 years ago
    rpc: socket: Minor cleanups
    
    - Add some debugging
    - Make the loop dependent only on retries
    - Make it explicit that connect(2) success exits the loop
    - Invert the error checking logic
    
        
file modified
+12 -4