Problems with TCP-Server von ConnectME

Hi!
I programmed a TCP server, which is to receive one file on the ConnectME. However all data do not arrive. The filesize is about 500 KB. I am reliably that the Client correctly function. I use NET+Works 6.0.

For counting the incomming data on the server I use the following Code:

while((iRecv=recv(fd,buf,sizeof(buf),0))>0)
iCount+=iRecv;

The Client sends datapacked with 1024 byte size. Where is the problem? I think that there is an error in the IP or TCP stack? Can it be?

Waiting for your valuable feedbacks.

Christian
PS. I’m sorry, my English is not very good :slight_smile:

Oh, I have found the problem. It was my mistake…