Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIn your error checking, you break from the loop before printing the error message. Do it the other way round and see if you get any error message:
if(retcode <= 0) { printf("recv call failed"); break;}