|
PcapPlusPlus
20.08
|
Go to the documentation of this file. 1 #ifndef PCAPPP_RAW_SOCKET_DEVICE
2 #define PCAPPP_RAW_SOCKET_DEVICE
144 virtual void close();
155 SocketFamily m_SockFamily;
157 IPAddress m_InterfaceIP;
164 #endif // PCAPPP_RAW_SOCKET_DEVICE
@ RecvError
Definition: RawSocketDevice.h:56
RecvPacketResult
Definition: RawSocketDevice.h:47
bool sendPacket(const RawPacket *rawPacket)
**
Definition: IpAddress.h:236
@ RecvWouldBlock
Definition: RawSocketDevice.h:54
RecvPacketResult receivePacket(RawPacket &rawPacket, bool blocking=true, int timeout=-1)
@ RecvTimeout
Definition: RawSocketDevice.h:52
The main namespace for the PcapPlusPlus lib.
int receivePackets(RawPacketVector &packetVec, int timeout, int &failedRecv)
Definition: RawSocketDevice.h:40
@ RecvSuccess
Definition: RawSocketDevice.h:50
Definition: PointerVector.h:24
int sendPackets(const RawPacketVector &packetVec)
Definition: RawPacket.h:252