Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 14 in printed book and digital formats -- plus a one-year subscription so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

PDF:

Feature

Talking Locally

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
Resource File(s):

Download Icon 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.


 


|

 


Weblog Commenting and Trackback by HaloScan.com