Reply To: Packet Length

Home Forums Discussions Support Portal Packet Length Reply To: Packet Length

#6263

Vadim Smirnov
Moderator

'Dump packet size
sOut = sOut & vbTab & "Packet size = " & PacketBuffer.m_Length & vbCrLf
CopyMemory EthHeader, PacketBuffer.m_IBuffer(0), Len(EthHeader)

The code above is taken from VB passthru sample. Here PacketBuffer.m_IBuffer array contains the entire packet, you can dump it if necessary.