X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FINet%2FRawINetSocketHandle.hh;h=78ec36cf9226a1cdfa3ca59aea27744bd7b45d41;hb=cb50871835b7a5c37e4fd32d38de67fa12570ebc;hp=10c23e0b88cc13620d15f8847ebe6770f5298c3f;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Socket/Protocols/INet/RawINetSocketHandle.hh b/senf/Socket/Protocols/INet/RawINetSocketHandle.hh index 10c23e0..78ec36c 100644 --- a/senf/Socket/Protocols/INet/RawINetSocketHandle.hh +++ b/senf/Socket/Protocols/INet/RawINetSocketHandle.hh @@ -64,7 +64,7 @@ namespace senf { INet4SocketAddress 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! + This socket will put data written to it onto the IPv4 layer: if you call writeto don't include 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. @@ -135,7 +135,7 @@ namespace senf { INet6Address 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! + This socket will put data written to it onto the IPv6 layer: if you call writeto don't include 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.