Rubber Chicken Software Co. wrote:
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.
Pretty much. They don't both connect and listen -- one listens, the
other connects to the listener.
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.
What's the twist? This all sounds OK to me.
Best,
- Joe
--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|