Ignore SIGPIPE signal on iOS

November 30th 2010, 9:36 am 5 comments
5 comments

alex_goacross June 22nd 2011, 11:59 pm

nice topic!

risma September 12th 2011, 6:03 am

hi, i have a simillar problem with you, can you tell me how to use that attachment? i dont understand how to handle this SIGPIPE
thank you

Jose Enrique Bolanos February 8th 2012, 3:02 pm

Thank you! I was running into the same issue.

@Risma: What I did was, I put the following line in my main.m, right before the UIApplicationMain call:

int main(int argc, char *argv[])
{
@autoreleasepool {
signal(SIGPIPE, SIG_IGN);

return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}

September 5th 2012, 10:53 pm

Nice! Ich wollte nur darauf zu reagieren. Ich liebte gr√ľndlich Ihre Post. Keep up the great Arbeit auf www.badrit.com.

September 7th 2012, 3:06 am

Sie haben einige gute Punkte gibt. Ich habe eine Suche zum Thema und fand die meisten Leute mit www.badrit.com einverstanden

Leave a Comment