curl-library
Re: Re: SIGPIPE
From: Giuseppe Attardi <attardi_at_di.unipi.it>
Date: Tue, 2 Dec 2003 19:58:05 +0100
Date: Tue, 2 Dec 2003 19:58:05 +0100
Wouldn't be enough just to add to setup.h:
#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
#endif
and then use
#define sread(x,y,z) recv(x,y,z,MSG_NOSIGNAL)
-- Beppe
-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
Received on 2003-12-02