Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!gatech!EU.net!sun4nl!cvitoa!jelle
From: jelle@cvi.ns.nl (Jelle Wolthuizen)
Subject: Re: Asynchronous Initiation in SmallTalk (Parcplace)
Message-ID: <1995May15.092803.12372@cvi.ns.nl>
Date: Mon, 15 May 1995 09:28:03 GMT
References: <3p5k2h$r1b@news1.is.net>
Organization: Centrum Voor Informatieverwerking, Utrecht, The Netherlands
X-Newsreader: TIN [version 1.2 PL1]
Lines: 24

Paul Linck (plinck@is.net) wrote:
: Anyone have any good ideas on how to initiate a SmallTalk message
: from a C++ module asynchronously?

: For example, we wish to send a message from a SmallTalk client
: to a C++ server communicating through an existing messaging mechanism that
: is written in C++.  We wish to send the message from this SmallTalk
: client and return control to the SmallTalk image immediately.
: When the reply comes back from the server module, we wish to
: automatically invoke a 'callback'in the SmallTalk image.

: This is a trivial exercise in C or C++, but I cant seem to figure out
: how to do this in [Parcplace] SmallTalk.  We have some ideas,
: but hey all seem kinda 'hokey'.

: Any ideas?
Try using sockets. See the file-in examples from Sockets.st. We have used
it succesfully.

-- 
Jelle Wolthuizen                    voice : +31-30-924901
CVI Traffic & Transport             fax   : +31-30-924235
22, Croeselaan                      e-mail: jelle@cvi.ns.nl
3521 CB  Utrecht
