From rzhao@sdlintl.com  Wed Dec  6 09:33:20 2000
Received: from targa_server.dccchina.com ([168.160.249.133])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id JAA18083
	for <prolog@swi.psy.uva.nl>; Wed, 6 Dec 2000 09:33:19 +0100 (MET)
Received: from rui (somewhere.fmi.com [157.43.20.96]) by targa_server.dccchina.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id YJM4P5YJ; Wed, 6 Dec 2000 16:22:12 +0800
Message-ID: <002701c05f5f$4838fcc0$60142b9d@rui>
From: "Rui" <rzhao@sdlintl.com>
To: <prolog@swi.psy.uva.nl>
Subject: Fw: Re: SICStus Prolog server/client applications
Date: Wed, 6 Dec 2000 16:33:56 +0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by swi.psy.uva.nl id JAA18083



> Put it slightly differently:
>  
> If we let our application sit on the server, after the connection is established via 
> linda/0 and linda_client/1, how can the client run the application?
> 
> We also have problem understanding the following:
> 
> linda((Host:Port)-(my_module:mypred(Host,Port))).
> 
> Suppose I have a user defined predicate my_append/3 which sits on the server, how 
> can the client call it?
> 
> Thanks for your help.
> 
> Xiuming
> 
> In 2000-12-6 11:32:00 you wrote:
> >Dear Mats,
> >    After I started server and got the host and port, and restored the program we 
> need.At another computer,I start a client and got "yes"(this maybe a successful 
> connection sign ),but then I cannot do something as I can do on a stand-alone with 
> the program,can you give me a direction? thanks a lot!
> >
> >Best regards
> >Rui  
> > 
> >
> >----- Original Message ----- 
> >From: Mats Carlsson <matsc@sics.se>
> >To: Xiuming Huang <xhuang@sdlintl.com>
> >Cc: <sicstus@sics.se>; Rui Zhao <rzhao@sdlchina.com>; <sli@sdlchina.com>
> >Sent: Tuesday, December 05, 2000 8:42 PM
> >Subject: Re: SICStus Prolog server/client applications 
> >
> >
> >> Dear Xiuming Huang,
> >> 
> >> > We are a licenced user of Sicstus Prolog multi-user version. Now in order to 
> construct 
> >> > a server/client application, do we need to upgrade to the s/c version of Sicstus 
> >> > Prolog? 
> >> 
> >> No, you have the latest version.
> >> 
> >> > When we tried to load 'linda/server' library module and typed 'linda.', the 
> >> > system gave Host:PortNumber and then seemed dead. We like to upgrade if it's 
> necessary.
> >> 
> >> In another process, load library('linda/client') and type
> >> "linda_client(Host:PortNumber).".  That will establish a client/server connection.
> >> 
> >> 
> >> > The manual seems terse on the s/c topic. Is there more information available? 
> >> 
> >> I'm afraid not, but the sources of linda/server and linda/client may be of some 
> use.
> >> 
> >> Kind regards,
> >> Mats Carlsson
> >
> >
> >**********************************************************************
> >This email and any files transmitted with it are confidential and
> >intended solely for the use of the individual or entity to whom they
> >are addressed. If you have received this email in error please notify
> >the system manager.
> >
> >This footnote also confirms that this email message has been swept 
> >for the presence of computer viruses.
> >
> >**********************************************************************
> >
> >
> >**********************************************************************
> >This email and any files transmitted with it are confidential and
> >intended solely for the use of the individual or entity to whom they
> >are addressed. If you have received this email in error please notify
> >the system manager.
> >
> >This footnote also confirms that this email message has been swept 
> >for the presence of computer viruses.
> >
> >**********************************************************************
> 
> 
> 
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept 
> for the presence of computer viruses.
> 
> **********************************************************************

