Skip to content

PCAP.Adaptor.SendPacket

Andrew Lambert edited this page Nov 26, 2022 · 8 revisions

PCAP.Adaptor.SendPacket

Method signatures

 Function SendPacket(RawPacket As PCAP.Packet) As Boolean
 Function SendPacket(RawPackets() As PCAP.Packet, Synchronize As Boolean = False) As Boolean

Parameters

SendPacket(Packet)

Name Type Comment
RawPacket Packet The packet to be sent

SendPacket(Packet(), Boolean)

Name Type Comment
RawPackets Packet array The packets to be sent
Synchronize Boolean Optional. If True, the packets are sent respecting the timestamps; otherwise they are sent as fast as possible. This feature is only available under Windows.

Return value

Returns True if the packet(s) was sent to the adaptor successfully.

Clone this wiki locally