On 23 Aug 2013, at 03:35, Kevin Yu <kevinyu@draytek.com> wrote:
Any help will be appreciate!
What Josh said, but also... When you bind to a specific port number you always have to have a fallback approach because some other app may be using it. So, what I recommend you do here is simply catch the error and then revert to your fallback. That'll take care of the problem on the simulator but also be helpful in the real world. Regardless of what you do, you should consider advertising your service with Bonjour so that Bonjour-aware clients don't need to hard-code a port number. Share and Enjoy -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com