Hi,
I have never implemented a flow contro, because i didn't need it. It receives the packet correctly almost every time, but some times, when a byte is lost, the program drives crazy. To solve it i make a byte counter: it counts the bytes received and when i have more than MAX_BYTES i reset the program. Some packet are lost, but i haven't found another solution.
Cheers