Can you make a small program that compiles, executes and shows the problem?

Can you explain what happens? For example:
All the packets are lost.
everything after packet 22 is lost
Only part...