mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Improve documentation for PacketSender.
This commit is contained in:
@@ -66,6 +66,12 @@ namespace Tins {
|
||||
* kernel will be responsible for picking the appropriate network interface
|
||||
* based on the destination address.
|
||||
*
|
||||
* \par Note for Windows users:
|
||||
* Sending layer 3 PDUs (without a link layer protocol) is very restricted
|
||||
* on Windows (<a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms740548(v=vs.85).aspx">link</a>).
|
||||
* Therefore it's recommended you always send packets which contain link layer PDUs.
|
||||
* This will use Winpcap's pcap_sendpacket to inject the packets.
|
||||
*
|
||||
* Sending packets can be done via PacketSender::send:
|
||||
*
|
||||
* \code
|
||||
|
||||
Reference in New Issue
Block a user