Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Beyond the Limits

IPC Sockets

Issue: 3.2 (November/December 2004)
Author: Didier Barbas
Author Bio: Didier has been a dilettante programmer and linguist for more than 20 years. Unusual for a Frenchman, he speaks 11 languages, including Korean and PowerPC machine-language.
Article Description: No description available.
Article Length (in bytes): 7,013
Starting Page Number: 46
RBD Number: 3222
Resource File(s):

Download Icon 3222.sit Updated: Friday, November 19, 2004 at 9:21 AM

Related Link(s): None
Known Limitations: None

Excerpt of article text...

One of the features introduced in RB 5.5 is the InterProcess Communication Socket, aka the IPC Socket. Originally a Unix feature, it is now also available on Windows, which makes it a good cross-platform solution. IPC sockets are also faster than normal sockets -- slightly on Unix systems and quite a bit on Windows, at least according to RS engineers. In this column, we will see how to put these sockets to good use: we will build a minimal GUI framework for Python scripts, using IPC sockets as the communication medium. While you may not, dear reader, care for Python -- just don't mention it to me -- the example developed here will still provide you with the basics necessary to write your own communication framework.

Objectives

We will build a communication framework ("physical" connection and vocabulary) between a REALbasic application (also named "the framework") and a foreign application (here in Python, just to show that IPCSocket is not restricted to RB apps), with the framework providing GUI services to the faceless application (the Python script).

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