Questions tagged [sigpipe]

SIGPIPE is the signal sent to a process when it attempts to write to a pipe without a process connected to the other end.

On POSIX-compliant platforms, SIGPIPE is the signal sent to a process when it attempts to write to a pipe without a process connected to the other end. The symbolic constant for SIGPIPE is defined in the header file signal.h. Symbolic signal names are used because signal numbers can vary across platforms.

95 questions
0
votes
1 answer

Eclipse CDT: Thread is getting SIGPIPE in debugging mode

There is a tool written in C language, based on socket programming and multi-threading. If I simply run the tool, there is no error and the tool does its work flawlessly. But if I run the tool in debugging mode, switching between thread is raising…
Rohit
  • 604
  • 1
  • 10
  • 25
0
votes
1 answer

Ignoring SIGPIPE doesn't work iOS

My App returns a signal 13: Broken pipe: 13 error and the reason is probably a serverside issue, I'm trying to ignore SIGPipes in my App to see if it works, however xcode won't let me do it. It just keeps on giving sigpipes. I added the following: -…
Timothy
  • 128
  • 1
  • 12
0
votes
1 answer

Non blocking read and blocking write on Posix PIPE

I'm writing Client-Server application using posix FIFO to communicate. Both client and server are single thread and single process application. The server is design to handle multiple clients. Each client has own pair of named pipe, one to send…
Yester
  • 652
  • 6
  • 18
0
votes
1 answer

Spurious SIGPIPE in Linux in C++

Anyone ever heard of a SIGPIPE with no obvious reason? I have a program, which crashed with a SIGPIPE. I prevented the crash with signal(SIGPIPE, SIG_IGN); Out of curiosity I did nothing else, i.e. no error handling. To my surprise the code works…
Greenflow
  • 3,935
  • 2
  • 17
  • 28
0
votes
1 answer

Errno 32 Broken pipe, Errno 107 Transport endpoint is not connected python socket

My TCP Server is written in Qt 4.7, works well with TCP Client also written in Qt 4.7. I am trying to connect and communicate with Server with client written in python 2.7.3. I start the Server process via apache http request with…
krizajb
  • 1,715
  • 3
  • 30
  • 43
1 2 3 4 5 6
7