Parametrized the socket connection host