PcapHandle.inject
int inject(const(void)[] buf)Injects a packet into the network.
Parameters
buf | The packet data to inject. |
Returns
The number of bytes written on success, or -1 on error.
int inject(const(void)[] buf)Injects a packet into the network.
buf | The packet data to inject. |