Combine WinPcap-packages

I have developed an application that uses WinPcap to capture packages from a TCP/IP connection. This works great, but I have some trouble parsing my data, because the messages I want to receive are chopped into pieces.

The messages I want to capture are around 17Kb, so they get splitted up into three packets, which are being received by WinPcap. The problem here is that I want to search the message for a certain string to extract some data out of it, but now the string is sometimes being chopped in half, what makes it difficult to find it.

Is there any function in WinPcap to streamin the complete message, instead of package by package? Or do I have to program this myself? Any suggestions on how to do this?

Thanks in advance!
Topic archived. No new replies allowed.