Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Re: ICPSocket with Separate Apps (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: IPC or TCP socket?
Next thread: No cross-platform built-in preferences class ?


Re: ICPSocket with Separate Apps   -   Joe Strout
  Re: ICPSocket with Separate Apps   -   Rubber Chicken Software Co.
  Re: ICPSocket with Separate Apps   -   Joe Strout
   ICPSocket with Separate Apps   -   Rubber Chicken Software Co.
    Windows Explorer   -   Tom Russell

Re: ICPSocket with Separate Apps
Date: 01.08.09 23:53 (Sat, 01 Aug 2009 16:53:34 -0600)
From: Joe Strout
Rubber Chicken Software Co. wrote:

>> Pretty much. They don't both connect and listen -- one listens, the
>> other connects to the listener.
>
> OK, I think I have it going now. The terms Connect and Listen seem to
> imply one-way communication, at least to me, but I guess that isn't the
> case.

Right -- they just denote the specific roles of who's passively waiting
for a connection that could come any time, and who's actively attempting
to connect right now.

Best,
- Joe

Re: ICPSocket with Separate Apps
Date: 01.08.09 06:12 (Sat, 01 Aug 2009 00:12:22 -0500)
From: Rubber Chicken Software Co.
At 04:06 PM 7/31/2009, you wrote:

> > I am trying to create two separate applications that talked to each
> > other through ICPSocket.

>Pretty much. They don't both connect and listen -- one listens, the
>other connects to the listener.

OK, I think I have it going now. The terms Connect and Listen seem to
imply one-way communication, at least to me, but I guess that isn't the case.

Thanks!

* * * * * * * * * * * * * * * * * * * * * * * * * * *
| 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: <email address removed> |
| Product Support: <email address removed> |
| Sampler Q+A: <email address removed> |
| 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>

Re: ICPSocket with Separate Apps
Date: 31.07.09 22:06 (Fri, 31 Jul 2009 15:06:39 -0600)
From: Joe Strout
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

ICPSocket with Separate Apps
Date: 31.07.09 20:14 (Fri, 31 Jul 2009 14:14:49 -0500)
From: Rubber Chicken Software Co.
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: <email address removed> |
| Product Support: <email address removed> |
| Sampler Q+A: <email address removed> |
| 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>