// Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Kompetenzzentrum NETwork research (NET)
-// David Wagner <david.wagner@fokus.fraunhofer.de>
+// David Wagner <dw6@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
///////////////////////////////cc.p////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
-// senf::UDPv4SocketProtocol
+// senf::RawV4SocketProtocol
prefix_ void senf::RawV4SocketProtocol::init_client()
const
int sock = ::socket(PF_INET, SOCK_RAW, protocol);
if (sock < 0)
throwErrno();
- body().fd(sock);
+ fd(sock);
}
prefix_ void
}
///////////////////////////////////////////////////////////////////////////
-// senf::UDPv6SocketProtocol::
+// senf::RawV6SocketProtocol::
prefix_ void senf::RawV6SocketProtocol::init_client()
const
int sock = ::socket(PF_INET6,SOCK_RAW,protocol);
if (sock < 0)
throwErrno();
- body().fd(sock);
+ fd(sock);
}
prefix_ void
///////////////////////////////cc.e////////////////////////////////////////
#undef prefix_
+//#include "RawInetSocketHandle.mpp"
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End: