From: mquinson Date: Mon, 26 Jun 2006 13:57:20 +0000 (+0000) Subject: Detect socket closed by peer in the transport layer, so that such things don't polute... X-Git-Tag: v3.3~2925 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/acbc8f35e5a8520356ce5a527971e6685a4e5793?hp=acbc8f35e5a8520356ce5a527971e6685a4e5793 Detect socket closed by peer in the transport layer, so that such things don't polute the messaging layer. This is done by recv() on the socket, which is not allowed on 'file sockets'. So, add a property to the sockets indicating whether it is ok to recv() on the socket or not, and then use it right after the select to detect dead horses git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2433 48e7efb5-ca39-0410-a469-dd3cf9ba447f ---