realbasic-nug
[Top] [All Lists]

ICPSocket with Separate Apps

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: ICPSocket with Separate Apps
From: "Rubber Chicken Software Co." <support@chickensys.com>
Date: Fri, 31 Jul 2009 14:14:49 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; domainkeys=neutral (no key) header.From=support@chickensys.com
Delivered-to: listarchive@realsoftware.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=chickensys.com; h=Received:X-Mailer:Date:To:From:Subject:Mime-Version:Content-Type:X-Identified-User; b=KTxkxS0w2HBEGTu+6cr4qmTE4pj/zsxwd2eVl8PTqL598CcD8YgKeBUIERfW+bDkICv+aUqAqPUfnnFpjN7Cgpa7qJPunUrvXtqYVye55Yidwp66dMCnHf/m6cVVkV9T;
Domainkey-status: no key
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
I am trying to create two separate applications that talked to each other through ICPSocket.

Do you basically do this with both apps?

// Set each apps ICPSockets Path in the ICPSocket Constructor; Me.Path = /tmp/AppComm"
// create the ICPSocket (New())
// MyICP.Connect
// MyICP.Listen

All Write commends should show up in the other app's DataAvailable event.

Is this correct?

NOW, one twist. One is a ServiceApplication, the other is a regular Application. I Launch the Service App from the regular app. The ServiceApp creates, connects, and listens, then goes into a Loop until the DataAvailable says "stop", then it breaks out. During the loop, the Service App Writes() to the regular app and increments a counter to display on the Window.

* * * * * * * * * * * * * * * * * * * * * * * * * * *
| Garth Hjelte                                      |
| Customer Service Representative, President        |
| Chicken Systems, Inc, Rubber Chicken Software Co. |
| 714 5th Street SE                                 |
| Willmar, MN 56201 USA                             |
|                                                   |
| 800-8-PRO-EPS    Toll Free Order Line (US Only)   |
| 320-235-9798     Tech Support, Sampler Questions  |
|                  International Line               |
| 360-838-7689     Fax                              |
| Product Sales:   sales@chickensys.com             |
| Product Support: support@chickensys.com           |
| Sampler Q+A:     qa@chickensys.com                |
| Web Page:        www.chickensys.com               |
* * * * * * * * * * * * * * * * * * * * * * * * * * *


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>