Hi Ito, On Fri, 2007-01-19 at 01:00 +0900, Ito Kazumitsu wrote: > This is to fix the bug #30488. > > 2007-01-18 Ito Kazumitsu <[EMAIL PROTECTED]> > > * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted, > (setsockopt_NOSIGPIPE): New function, > (cpnet_send): Corrected the option setting to send(), > (cpnet_sendTo): Corrected the option setting to sendto().
Yes, this looks better than what we have now. In theory you could just use setsockopt_NOSIGPIPE on creation of the socket. But that is an optimization that is probably not worth (we go through JNI already anyway). Thanks, Mark
signature.asc
Description: This is a digitally signed message part
