/* $Id: cfailure.h,v 1.2 1999/07/30 17:55:48 v2kea318 Exp $

$Log: cfailure.h,v $
 * Revision 1.2  1999/07/30  17:55:48  v2kea318
 * Reformat the header file names for Standard C++ compliance.
 *
 * Revision 1.1  1999/05/07  19:47:45  v2kea318
 * Initial revision
 *
***************************************************************************

Define an << operator for the ConnectFailure exception.

***************************************************************************/

#ifndef CONN_FAILURE_OUT_OP_H
#define CONN_FAILURE_OUT_OP_H

#include "SocketBase.h"
#include <iostream>

inline ostream& operator << (ostream& os, 
			     const SocketBase::ConnectFailure& cf)
{
  os << "error connecting to host (" << cf.hostname() << ") --> "
     << cf.what();
  return os;
}

#endif
