I have been facing the SIGPIPE crashing frequently, I know its because of connection problem, one of my socket is trying to write after lost connection, but problem is I don't have here control over the socket descriptors (Got tcp class as .a), to set signal() like IGNORE or NO_SIGPIPE. So any way to igone using Xcode. Any suggestion is really helpful to me.

thanks

有帮助吗?

解决方案

Even though I don't have socket descriptors I have tried with Signals it seems working.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top