Packet Sniffer SDK VCL Edition

HNLBAdapter :: Events :: OnThreadBegin

 Previous Next

Tracks the creating of the internal component thread.

Syntax:

TOnThreadBegin = procedure (Sender : TObject;
                        var ThParam: Pointer) of object;

Parameters:

ThParam

[out] User defined thread parameter, is available only in the calling thread context (see OnTcpPacketReceive, OnUdpPacketReceive, OnConnect, OnDisconnect).

Description:

Set this event handler to execute necessary functions at the moment of the creation of the internal component thread. This event handler is called in the context of the internal component thread immediately after successful OpenAdapter function execution.

See also:HNLBAdapter, OpenAdapter, OnConnect, OnDisconnect, OnTcpPacketReceive, OnUdpPacketReceive, OnThreadEnd