[CentOS] socket: write vs send
Michael D. Berger
m_d_berger_1900 at yahoo.comTue Apr 6 20:19:12 UTC 2010
- Previous message: [CentOS] socket: write vs send
- Next message: [CentOS] socket: write vs send
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [CentOS] socket: write vs send
- Next message: [CentOS] socket: write vs send
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list