Implement senf::IGNORE and replace all casts-to-void with senf::IGNORE() calls
[senf.git] / senf / Socket / Protocols / INet / RawINetSocketHandle.hh
index ca1c380..02f71ef 100644 (file)
@@ -25,7 +25,7 @@
 
 
 // Custom includes
-#include "INetSocketProtocol.hh"
+#include "INetAddressing.hh"
 #include "RawINetSocketProtocol.hh"
 #include "MulticastSocketProtocol.hh"
 #include <senf/Socket/Protocols/BSDSocketProtocol.hh>
@@ -71,6 +71,10 @@ namespace senf {
         This class is utilized as the protocol class of the ProtocolClientSocketHandle
         via the Socket Handle typedefs above.
 
+        \attention
+            If socket handle with RawV4SocketProtocol is connected via INet4SocketAddress, the port number
+            is interpreted as protocol number for IPv4 layer. Please refer manpage: "man 7 raw".
+
         \see RawV6SocketProtocol
      */
     class RawV4SocketProtocol
@@ -138,6 +142,10 @@ namespace senf {
         This class is utilized as the protocol class of the ProtocolClientSocketHandle
         via the Socket Handle typedefs above.
 
+        \attention
+            If socket handle with ConnectedRawV6SocketProtocol is connected via INet6SocketAddress, the port number
+            is interpreted as protocol number for IPv6 layer. Please refer manpage: "man 7 ipv6".
+
         \see RawV4SocketProtocol
      */
     class RawV6SocketProtocol