On Jan 14, 2015, at 10:05 AM, Steve Mills <[email protected]> wrote: > > Or is that done more from the client side where a timer pings the server for > updates periodically (that sounds inefficient)?
Indeed, horribly inefficient and doesn't scale--but when they mention AJAX, that's likely what they mean. Keeping a connection open and letting the server push data is a relatively new concept in the WWW world--see WebSockets, part of HTML 5. But you only need WebSockets if you're client is in a browser, otherwise you're looking for some utility class that wraps a TCP socket and provides helpers to assist with the protocol details and hand your data back to you. -- Scott Ribe [email protected] http://www.elevated-dev.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
