Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network notifications



On Mon, Mar 31, 2008 at 8:47 PM, Randall Meadows <email@hidden> wrote:

>  The two apps that are going to be communicating* will have similar,
>  though not identical life times.  In general, my app is going to be
>  launched first, and will be gathering data; the remote app will likely
>  come online later, and then gather all information collected thus far
>  by my app, and then start listening for when my app acquires more data
>  to it can keep up-to-date in more or less real-time; this is so that
>  the remote can always have the latest data, in case my app quits (my
>  user goes to lunch, or is done for the day and leaves the site, for
>  example).

Well, you could just use Bonjour to advertise a TCP port on which the
client can connect, and then both server and client would keep that
connection alive until the client quits, and the server could simply
send the URL of any changed items in plain text to the client.

Hamish
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Network notifications (From: Randall Meadows <email@hidden>)
 >Re: Network notifications (From: "Hamish Allan" <email@hidden>)
 >Re: Network notifications (From: Randall Meadows <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.