#include <senf/Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh>
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.
Definition at line 83 of file ConnectedRawINetSocketHandle.hh.
Constructors |
|
void | init_client () const |
Create unconnected client socket for IPPROTO_RAW. |
|
void | init_client (int const &protocol) const |
Create unconnected client socket for protocol. |
|
void | init_client (int const &protocol, INet4SocketAddress const &address) const |
Create client socket and connect. |
void senf::ConnectedRawV4SocketProtocol:: | ||||
init_client | ( | int const & | protocol, | |
INet4SocketAddress const & | address | ) | ||
Create client socket and connect.
Creates a new client socket for the given protocol and connects to the given address.
[in] | protocol | Layer 4 protocol to filter for / to send |
[in] | address | local address to connect to |
Definition at line 56 of file ConnectedRawINetSocketHandle.cc.
void senf::ConnectedRawV4SocketProtocol:: | ||||
init_client | ( | int const & | protocol | ) |
Create unconnected client socket for protocol.
Definition at line 46 of file ConnectedRawINetSocketHandle.cc.
void senf::ConnectedRawV4SocketProtocol:: | ||||
init_client | () | |||
Create unconnected client socket for IPPROTO_RAW.
Definition at line 39 of file ConnectedRawINetSocketHandle.cc.