From: atx23 Date: Wed, 18 Nov 2009 12:39:55 +0000 (+0000) Subject: added hints for RawInetSockets/Protocols (port = protocol) X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=6dfb1a69bf12258f6f8117f5e4c257c4e0367a29;hp=8bab2fbb2a8272199adc7034ddcd43ecdeb942a9;p=senf.git added hints for RawInetSockets/Protocols (port = protocol) git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1533 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh b/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh index ddcec24..25d783e 100644 --- a/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh +++ b/senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh @@ -69,6 +69,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 ConnectedRawV4SocketProtocol is connected via INet4SocketAddress, the port number + is interpreted as protocol number for IPv4 layer. Please refer manpage: "man 7 raw". + \see ConnectedRawV6SocketProtocol \see RawV4SocketProtocol \see RawV6SocketProtocol @@ -137,6 +141,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 ConnectedRawV4SocketProtocol \see RawV4SocketProtocol \see RawV6SocketProtocol diff --git a/senf/Socket/Protocols/INet/RawINetSocketHandle.hh b/senf/Socket/Protocols/INet/RawINetSocketHandle.hh index ca1c380..e860dca 100644 --- a/senf/Socket/Protocols/INet/RawINetSocketHandle.hh +++ b/senf/Socket/Protocols/INet/RawINetSocketHandle.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 IP 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 IPv4 layer. Please refer manpage: "man 7 ipv6". + \see RawV4SocketProtocol */ class RawV6SocketProtocol