Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- while(1){ cnt++; for (i=0; i<100; i++) { send(sockClient,"1",2,0); printf("1 sent OK!\n\n"); } for (i=0; i<100; i++) { recv(sockClient,recvBuf,2,0); printf("%s\nrecieved OK!\ncnt=%d\n\n",recvBuf,cnt); } } --- Quote End --- Thank you for your reply, Cris72 I've tried your code, but it is of no use, the loop stopped when cnt =156. I think it is not a software code efficiency problem.