Packet Sniffer SDK VCL Edition

HNAdapter Methods

 Previous Next

Please see HNAdapter methods short descriptions below:

AsyncRequest

Execute asynchronous NDIS request.

AsyncSend

Sends a packet asynchronously.

AsyncSendEx

Sends a packet asynchronously.

CloseAdapter

Closes the network adapter.

Constructor

Creates an HNAdapter object.

Destructor

Destroys an HNAdapter object.

Get_AcceptCount

Returns the number of the packets passed by the user-settable packet filter.

Get_AsyncStatistics

Updates network adapter statistics synchronously.

Get_LostCount

Returns the number of the packets lost by the PSSDK internal driver.

Get_Missed

Returns the number of the packets lost by the network adapter.

Get_OpenTime

Returns the time of the latest opening of the current network adapter.

Get_ProcessCount

Returns the number of the packets transferred to the application.

Get_RecvCount

Returns the number of the packets received by the Packet Sniffer SDK internal driver from OS.

Get_RecvWithErr

Returns the number of the packets received by the network adapter with errors.

Get_RecvWithoutErr

Returns the number of the packets received by the network adapter without errors.

Get_RejectCount

Returns the number of packets rejected by the user-settable packet filter.

Get_TranWithErr

Returns the number of the packets transferred by the network adapter with errors.

Get_TranWithoutErr

Returns the number of the packets transferred by the network adapter without errors.

IsOpened

Shows HNAdapter working status.

IsValid

Checks if the HNAdapter object is created correctly.

OpenAdapter

Opens the network adapter.

SyncRequest

Execute synchronous NDIS request.

SyncSend

Sends a packet synchronously.

SyncSendEx

Sends a packet synchronously.

UpdateAdapterStatistics

Updates the network adapter statistics synchronously.

UpdateUserStatistics

Updates the user-settable filter statistics synchronously.