Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: GH Newsgroups: comp.os.linux.development.apps Subject: issue with tcp sockets on linux Date: Tue, 22 May 2012 06:25:29 -0700 (PDT) Organization: http://groups.google.com Lines: 8 Message-ID: NNTP-Posting-Host: 204.212.175.30 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1337693129 30375 127.0.0.1 (22 May 2012 13:25:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 22 May 2012 13:25:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=204.212.175.30; posting-account=bFi7UwoAAAD4TWeyBRskF4FwxV3Tos45 User-Agent: G2/1.0 Xref: csiph.com comp.os.linux.development.apps:478 Hi all, I've run my application into an issue with recv() hanging while the= server already exited. recv() is not returning any data or error. More puz= zling is that netstat shows on client side the connection in ESTABLISHED st= ate while on server side netstat reports no such connection. Can someone sh= ed some light or share any experience on this? Below is my system info. Man= y thanks. $ uname -rv 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010