dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #11980] ilrun crashes using sockets with broken


From: Klaus Treichel
Subject: [Pnet-developers] [bugs #11980] ilrun crashes using sockets with broken connection (HIGH CRITICAL)
Date: Sat, 19 Feb 2005 16:13:31 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.40607)

Follow-up Comment #12, bugs #11980 (project dotgnu-pnet):

try the following change in support/socket.c:
change 
        return (ILInt32)(send((int)(ILNativeInt)sockfd, msg, len, flags));
to
        return (ILInt32)(send((int)(ILNativeInt)sockfd, msg, len, flags |
MSG_NOSIGNAL));

this lets the function not to send a signal on error.
EPIPE will still be returned if an error occures.


    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11980>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]