1
0
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:
Matias Fontanini
2015-04-19 10:54:18 -07:00
parent 213b812520
commit 530ac79ba4

View File

@@ -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