Depending on your capture setup, wireshark should be seeing all of the frames on the, regardless of whether they are valid TCP segments or not. As Bill has said, unless they are frames broken at the physical level - they should be there.
If they are shown as "malformed" TCP segments, it sounds like there is something up with your TCP stack - is this home-grown or are you just putting your app on to a standard Windows/UNIX/Linux stack?
You can tell Wireshark to turn off all decoding, for instance TCP, so at least you will see the raw frames.
You probably need to post a link to a capture to help us understand the problem.