// $Id: ConnectedUDPSocketHandle.cc 357 2007-07-26 22:48:39Z g0dil $
//
// 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/socket.h>
#include <sys/ioctl.h>
-#include "Utils/Exception.hh"
+#include "../../../Utils/Exception.hh"
//#include "ConnectedUDPSocketHandle.mpp"
#define prefix_
{
int sock = ::socket(PF_INET,SOCK_DGRAM,0);
if (sock < 0)
- throw SystemException(errno);
- body().fd(sock);
+ throwErrno();
+ fd(sock);
}
prefix_ void
{
int sock = ::socket(PF_INET6,SOCK_DGRAM,0);
if (sock < 0)
- throw SystemException(errno);
- body().fd(sock);
+ throwErrno();
+ fd(sock);
}
prefix_ void