SharpPcap : SharpPcap.WinPcap Namespace

SendQueue Class

Interface to the WinPcap send queue extension methods

Syntax

public class SendQueue

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Members

See Also: Inherited members from object.

Public Constructors

Creates and allocates a new SendQueue

Public Properties

[read-only]
CurrentLength int . The current length in bytes of this queue

Public Methods

Add (SharpPcap.RawCapture) : bool
Add a packet to this send queue.
Add (byte[]) : bool
Add a packet to this send queue.
Add (byte[], int, int) : bool
Add a packet to this send queue.
Dispose ()
Destroy the send queue.
Transmit (WinPcapDevice, SendQueueTransmitModes) : int
Send a queue of raw packets to the network.

Member Details

SendQueue Constructor

Creates and allocates a new SendQueue

Syntax

public SendQueue (int memSize)

Parameters

memSize
The maximun amount of memory (in bytes) to allocate for the queue

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Add Method

Add a packet to this send queue.

Syntax

public bool Add (SharpPcap.RawCapture packet)

Parameters

packet
The packet to add

Returns

True if success, else false

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Add Method

Add a packet to this send queue.

Syntax

public bool Add (byte[] packet)

Parameters

packet
The packet bytes to add

Returns

True if success, else false

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Add Method

Add a packet to this send queue.

Syntax

public bool Add (byte[] packet, int seconds, int microseconds)

Parameters

packet
The packet to add
seconds
The 'seconds' part of the packet's timestamp
microseconds
The 'microseconds' part of the packet's timestamp

Returns

True if success, else false

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

CurrentLength Property

The current length in bytes of this queue

Syntax

public int CurrentLength { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Dispose Method

Destroy the send queue.

Syntax

public void Dispose ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Transmit Method

Send a queue of raw packets to the network.

Syntax

public int Transmit (WinPcapDevice device, SendQueueTransmitModes transmitMode)

Parameters

device
The device on which to send the queue A SharpPcap.LibPcap.PcapDevice
transmitMode
A SharpPcap.WinPcap.SendQueueTransmitModes

Returns

A int

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap.WinPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0