Can i use POSIX sockets in iPhone OS?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, with a few caveats.
A POSIX socket connect will not turn on the cellular radio, so you may have to use a higher level network protocol to pre-flight any socket connection.
Blocking read/writes to a socket should be done in a thread other than the main thread unless you want to block the UI of your app.