On iPhone, what does EPERM (errno == 1) mean in reponse to send() of UDP data?

Posted by Chris Markle on Stack Overflow See other posts from Stack Overflow or by Chris Markle
Published on 2010-03-24T22:10:56Z Indexed on 2010/03/24 22:13 UTC
Read the original article Hit count: 249

Filed under:
|

We sending data over UDP from the iPhone, sometimes, but not always, in response to our first send() of UDP data, we are getting back a -1 return code and errno set to 1 (EPERM / operation not permitted). The EPERM result for send(), sendto() and sendmsg() is not documented in the man pages as a return result from those functions.

Has anyone out there encountered this and might be able to shed some light on what this errno value means in this context?

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about udp