Changes made in getConnection() to receive the ipAddrr as a default

parameter.