Re: socket: write vs send

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



On Tue, 06 Apr 2010 14:53:45 -0500, Les Mikesell wrote:

[...]

> 
> They should be equivalent - if the other end closes first, you'll get a
> SIGPIPE, which by default will kill the process.  If you want to keep
> running you have to handle or ignore the signal.

How about if I use MSG_NOSIGNAL in the flags argument?

Thanks,
Mike.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux