Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP/IP Read fails with EINTR in the client end

Status
Not open for further replies.

aaaaa12345

Programmer
May 6, 2003
1
US
I have a problem where I have a TCP/IP client and server. The client sends a message to server and server processes the request. It writes back the response to socket. Normally everything is fine.

But sometimes, the read failes with 'errno=EINTR' and as per man pages, you have to go back for the read. This hangs and after 2-3 minutes, it once again failes with EINTR. So the whole thing is hanging.

I am working on SUN Solaris 2.6

Please respond.

Thanks

aaaaa12345
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top