set keyword svn property on more files
[senf.git] / Socket / Protocols / INet / RawInetSocketHandle.hh
index 86095e5..81d69b9 100644 (file)
@@ -1,7 +1,9 @@
+// $Id$
+//
 // 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
@@ -32,7 +34,7 @@
 #include "../../../Socket/BufferingPolicy.hh"
 #include "../../../Socket/ProtocolClientSocketHandle.hh"
 
-//#include "UDPSocketHandle.mpp"
+
 ///////////////////////////////hh.p////////////////////////////////////////
 
 namespace senf {
@@ -63,6 +65,9 @@ namespace senf {
             INet4Address
 
         RawV4SocketProtocol provides an internet protocol raw socket based on IPv4 addressing.
+        This socket will put data written to it onto the IPv4 layer: if you call writeto don't inlude the header!
+        On the other hand `read` will return the packet data including the IP header. 
+        This behaviour is strange and differs from the behaviour of IPv6 RAW sockets and should be changed in the future. 
 
         This class is utilized as the protocol class of the ProtocolClientSocketHandle
         via the Socket Handle typedefs above.
@@ -133,7 +138,10 @@ namespace senf {
         \par Address Type:
             INet6Address
 
-        RawV6SocketProtocol provides an internet protocol stream socket based on IPv6 addressing.
+        RawV6SocketProtocol provides an internet protocol raw socket based on IPv6 addressing.
+        This socket will put data written to it onto the IPv6 layer: if you call writeto don't inlude the header!
+        On the other hand `read` will return the packet data on top of the IPv6 layer, excluding the IP header. 
+        Note: This behaviour is differs from the behaviour of IPv4 RAW sockets. 
 
         This class is utilized as the protocol class of the ProtocolClientSocketHandle
         via the Socket Handle typedefs above.