// $Id$
//
// Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
-#include "Utils/Exception.hh"
+#include "../Utils/Exception.hh"
#include "ServerSocketHandle.hh"
//#include "CommunicationPolicy.mpp"
}
prefix_ int senf::ConnectedCommunicationPolicy::do_accept(FileHandle handle,
- struct sockaddr * addr,
- unsigned len)
+ struct sockaddr * addr,
+ unsigned len)
{
int rv = -1;
do {
case EINTR:
break;
default:
- throw SystemException(errno);
+ SENF_THROW_SYSTEM_EXCEPTION("ConnectedCommunicationPolicy::do_accept failed.");
}
} while (rv<0);
return rv;
// indent-tabs-mode: nil
// ispell-local-dictionary: "american"
// compile-command: "scons -u test"
+// comment-column: 40
// End: