Playing with AutoDiscovery
Issue: 10.3 (March/April 2012)
Author: Marc Zeedar
Article Description: No description available.
Article Length (in bytes): 22,780
Starting Page Number: 55
RBD Number: 10309
project 10309.zip Updated: Thursday, March 1, 2012 at 11:11 AM
Related Link(s): None
Known Limitations: None
Excerpt of article text...
For this issue's column I thought I'd experiment with a Real Studio feature that I think is really cool but hadn't gotten a chance to use yet. The feature is the AutoDiscovery class.
AutoDiscovery makes it really easy to find other applications running on the same network. In theory, you could use this to talk to random apps, but in reality that's not very practical since the apps all need to use the same protocol and talk the same language. A far more likely usage is to set up a communication system within your own application or set of applications.
For example, you could write a chess-playing program that plays against another copy of the same program running on a different computer on the same network, or you could make a networked game that coordinates with the other running copies so several players could play together.
One interesting use would be having your program share information with other running copies so all copies have the same data no matter which copy the user is using at that moment.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.