///////////////////////////////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: