Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow to unlock send function if ethernet link down
I send some data by TCP use nichestack. When the ethernet link down , the send function block forever, so all the task is dead. How to resolve this problem? The code is like this bytes...
Altera_Forum
Honored Contributor
16 years agokaushal,thanks for your replay
I know what you say , but my questions is how to detect the link is down. The programme block at send() function and don't return. I want return from the send function when link is down and then reset the connection.