Edit: Sorry about the double post, but it's been over a week since I last posted and I'm still on the same topic. My issue is in my next post.
Hi, I'd like to do something that I think will be pretty simple...
I'd like my Cocoa app to be able to bundle up some data in an NSDictionary and broadcast it on the local network. Any other instances of the app on the local network (say, a school or office or home network,) should be able to receive the data and access the keys/objects for the dictionary. Is Bonjour the best means of doing this?
Is this class reference the correct place to be looking, or am I heading in the wrong direction?
https://developer.apple.com/library...eference.html#//apple_ref/occ/cl/NSNetService
Thanks!
(Oh, I'd also like it if I left myself with the option of creating a PC version sometime in the future that could communicate with the Mac version... if that makes it much more difficult, I won't bother as I probably won't ever make a PC version, but just incase, I don't want to close the door completely on that possibility...)
Hi, I'd like to do something that I think will be pretty simple...
I'd like my Cocoa app to be able to bundle up some data in an NSDictionary and broadcast it on the local network. Any other instances of the app on the local network (say, a school or office or home network,) should be able to receive the data and access the keys/objects for the dictionary. Is Bonjour the best means of doing this?
Is this class reference the correct place to be looking, or am I heading in the wrong direction?
https://developer.apple.com/library...eference.html#//apple_ref/occ/cl/NSNetService
Thanks!
(Oh, I'd also like it if I left myself with the option of creating a PC version sometime in the future that could communicate with the Mac version... if that makes it much more difficult, I won't bother as I probably won't ever make a PC version, but just incase, I don't want to close the door completely on that possibility...)
Last edited: