The adapter has not been opened, see the OpenAdapter method.
HNERR_SIZE_ERR
The PacketSize parameter value is greater than the maximum size, see
MaxPacketSize.
HNERR_ADAPTER_REQ_ERR
An internal driver request error.
Description:
Having created HNPacket object by
AllocatePacket method you can use it to create
raw packet. Note that when using SyncSendEx function you should set
HNPacket.IncPacketSize property correctly, because this
property value is used for sending data through the network adapter.
After the network adapter has been opened successfully by OpenAdapter,
you can send a raw packet directly, without using the OS functions. This packet will be sent
synchronously.
This function cannot work with the devices recognized as atWAN. See
HNNetAdapterType.