The Production Server and Moving Forward

When you deploy an application to the App Store, you need to use a different SSL certificate and talk to a different notification server. The process for generating that certificate is the same; in the developer portal, just configure the Production section of the App ID. In your server, you must point the connection to another instance of the notification server. The hostname of this server is gateway.push.apple.com, and the port is still 2195.

Also, CocoaServer isn’t exactly a production server: it isn’t optimized to handle many service requests at once.

Finally, all of the networking APIs and classes used in CocoaServer work in iOS as well. An iOS application can get instances of NSInputStream and NSOutputStream after calling CFStreamCreatePairWithSocketToHost and use those to exchange data with other machines.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.78.83