Hey everyone!

I have quite the issue here.

Basically my program understands the protocol of a certain Chat server. However, since these packets are sent in rather large quantities sometimes, I have to parse the huge "chunk" into their separate packets. And because they include the length of the packet in the packet header, it is rather easy.

The problem comes when the data chunk is actually Larger than 8192 Bytes. Winsock unfortunately splits chunks into these 8192 byte sizes which can cause some packets to be split in incorrect places. so I was wondering if there is a way to Know how much data was sent to me, if they send more than 8192 bytes at a time.

This issue has Plagued me!

Thanks all