Ok. I was not telling that the function was not working as expected. And I understand that this is part of the TCP stack (and I do not want to get in it!! )
I was just wondering if there was a way to get the whole frame but it seems not. I will parse all the data to decode the receive frame.
Thank you