title: iOS app to listen to a port all the time
body: <p>I want to create an app that listen to a custom port all the time &amp; when the client try to connect through that port I want to handle that event.</p>
  
  <p>I searched a lot in the internet about it but I couldn't get any good resources for my requirement.</p>
  
  <p>I want to know if I build that app somehow, will Apple Store approve my app? because the app always listen to a port. They might think it's a security issue.</p>
  
  <p>Can anyone give me an answer to that question, as well as please provide me relevant resources for that.</p>
  
  <p>Thanks</p>