Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Job Command with TCP Devices

43 views
Skip to first unread message

va

unread,
Jun 26, 2009, 5:37:38 AM6/26/09
to
Hello!!

Here is how write for Cache:

" You can use the JOB command to implement a TCP concurrent server. A
TCP concurrent server allows multiple clients to be served
simultaneously. In this mode, a client does not have to wait for the
server to finish serving other clients. Instead, each time a client
requests the server, it spawns a separate subjob for that client which
remains open as long as the client needs it. As soon as this subjob
has been spawned (indicated by the return of the JOB command), another
client may request service and the server will create a subjob for
that client as well. "

server ;
SET io="|TCP|1"
SET ^serverport=7001
OPEN io:(:^serverport:"MA"):200
IF ('$TEST) {
WRITE !,"Cannot open server port"
QUIT }
ELSE { WRITE !,"Server port opened" }
loop
USE io READ x ; Read for accept
USE 0 WRITE !,"Accepted connection"
JOB child:(:5:io:io) ;Concurrent server bit is on
GOTO loop
child
WRITE $JOB,! ; Send job id on TCP device to be read by client
QUIT


And how it to use in GT.M ???

Thanks

K.S. Bhaskar

unread,
Jun 26, 2009, 9:45:06 AM6/26/09
to
[KSB] The recommended approach with GT.M is to deploy the service
under the Internet superservers, inetd or xinetd. See
http://www.fidelityinfoservices.com/user_documentation/html/rn_tb/GTM_V5.0-000D_Release_Notes.html#ch.hi.id.55
for more information.

Regards
-- Bhaskar
ks dot bhaskar at fnis dot com <-- send e-mail here

va

unread,
Jul 1, 2009, 9:55:25 AM7/1/09
to
On 26 июн, 16:45, "K.S. Bhaskar" <ksbhas...@gmail.com> wrote:
> [KSB] The recommended approach with GT.M is to deploy the service
> under the Internet superservers, inetd or xinetd.  Seehttp://www.fidelityinfoservices.com/user_documentation/html/rn_tb/GTM...

> for more information.
>
> Regards
> -- Bhaskar
> ks dot bhaskar at fnis dot com <-- send e-mail here
>
> On Jun 26, 5:37 am, va <gontia...@gmail.com> wrote:

Who can will share a small example of connection
Through xinetd with GT.M Routine through socket???

It is not enough information and examples ...

Thanks

K.S. Bhaskar

unread,
Jul 5, 2009, 5:59:25 PM7/5/09
to
On Jul 1, 9:55 am, va <gontia...@gmail.com> wrote:

> On 26 ÉÀÎ, 16:45, "K.S.  Bhaskar" <ksbhas...@gmail.com> wrote:
>
> > [KSB] The recommended approach with GT.M is to deploy the service
> > under the Internet superservers, inetd or xinetd. šSeehttp://www.fidelityinfoservices.com/user_documentation/html/rn_tb/GTM...

> > for more information.
>
> > Regards
> > -- Bhaskar
> > ks dot bhaskar at fnis dot com <-- send e-mail here
>
> > On Jun 26, 5:37šam, va <gontia...@gmail.com> wrote:
>
> Who can will share a small example of connection
> Through xinetd with GT.M Routine through socket???
>
> It is not enough information and examples ...
>
> Thanks

[KSB2] Let me tell you how you can get a working example to play with
on your own PC. Look at the instructions at
http://downloads.sourceforge.net/sourceforge/worldvista/WVEHRVOE10Release6-08Toaster4SliceMSCFM1034Readme.html
and scroll down to the end (you don't care about the details of VistA)
where it tells you how to boot and run the virtual machine.

Login to the virtual machine as user vistaadmin, password vistaadmin
and look at the files /etc/xinetd.d/clinicp and /etc/xinetd.d/clinicq.

al.veliev

unread,
Jul 16, 2009, 6:17:27 PM7/16/09
to
On Jul 6, 12:59 am, "K.S. Bhaskar" <ksbhas...@gmail.com> wrote:
> On Jul 1, 9:55 am, va <gontia...@gmail.com> wrote:
>
>
>
> > On 26 ÉÀÎ, 16:45, "K.S.  Bhaskar" <ksbhas...@gmail.com> wrote:
>
> > > [KSB] The recommended approach with GT.M is to deploy the service
> > > under the Internet superservers, inetd or xinetd. šSeehttp://www.fidelityinfoservices.com/user_documentation/html/rn_tb/GTM...
> > > for more information.
>
> > > Regards
> > > -- Bhaskar
> > > ks dot bhaskar at fnis dot com <-- send e-mail here
>
> > > On Jun 26, 5:37šam, va <gontia...@gmail.com> wrote:
>
> > Who can will share a small example of connection
> > Through xinetd with GT.M Routine through socket???
>
> > It is not enough information and examples ...
>
> > Thanks
>
> [KSB2] Let me tell you how you can get a working example to play with
> on your own PC.  Look at the instructions athttp://downloads.sourceforge.net/sourceforge/worldvista/WVEHRVOE10Rel...

> and scroll down to the end (you don't care about the details of VistA)
> where it tells you how to boot and run the virtual machine.
>
> Login to the virtual machine as user vistaadmin, password vistaadmin
> and look at the files /etc/xinetd.d/clinicp and /etc/xinetd.d/clinicq.
>
> Regards
> -- Bhaskar
> ks dot bhaskar at fnis dot com <-- send e-mail here

Hi all! Could anybody send me at my e-mail these files:

/etc/xinetd.d/clinicp and /etc/xinetd.d/clinicq

I have a limited access to internet now. Thank you very much.

Alexander.

K.S. Bhaskar

unread,
Jul 16, 2009, 10:37:23 PM7/16/09
to
On Jul 16, 6:17 pm, "al.veliev" <al.vel...@gmail.com> wrote:
> On Jul 6, 12:59 am, "K.S.  Bhaskar" <ksbhas...@gmail.com> wrote:
>
>
>
> > On Jul 1, 9:55 am, va <gontia...@gmail.com> wrote:
>
> > > On 26 ÉÀÎ, 16:45, "K.S.  Bhaskar" <ksbhas...@gmail.com> wrote:
>
> > > > [KSB] The recommended approach with GT.M is to deploy the service
> > > > under the Internet superservers, inetd or xinetd. šSeehttp://www.fidelityinfoservices.com/user_documentation/html/rn_tb/GTM...
> > > > for more information.
>
> > > > RegardsAre you looking specifically for the xinetd setu

> > > > -- Bhaskar
> > > > ks dot bhaskar at fnis dot com <-- send e-mail here
>
> > > > On Jun 26, 5:37šam, va <gontia...@gmail.com> wrote:
>
> > > Who can will share a small example of connection
> > > Through xinetd with GT.M Routine through socket???
>
> > > It is not enough information and examples ...
>
> > > Thanks
>
> > [KSB2] Let me tell you how you can get a working example to play with
> > on your own PC.  Look at the instructions athttp://downloads.sourceforge.net/sourceforge/worldvista/WVEHRVOE10Rel...
> > and scroll down to the end (you don't care about the details of VistA)
> > where it tells you how to boot and run the virtual machine.
>
> > Login to the virtual machine as user vistaadmin, password vistaadmin
> > and look at the files /etc/xinetd.d/clinicp and /etc/xinetd.d/clinicq.
>
> > Regards
> > -- Bhaskar
> > ks dot bhaskar at fnis dot com <-- send e-mail here
>
> Hi all! Could anybody send me at my e-mail these files:
>
> /etc/xinetd.d/clinicp and /etc/xinetd.d/clinicq
>
> I have a limited access to internet now. Thank you very much.
>
> Alexander.

It will take me a little time to get those, but if you just want an
example of setting up a service with xinetd, take a look at
http://tinyurl.com/mevhlx

Regards
-- Bhaskar

al.veliev

unread,
Jul 16, 2009, 11:57:10 PM7/16/09
to

Thanks a lot. That is it what I need.

uli

unread,
Aug 5, 2009, 5:18:27 AM8/5/09
to
> server ;
> SET io="|TCP|1"
> SET ^serverport=7001
> OPEN io:(:^serverport:"MA"):200
> IF ('$TEST) {
> WRITE !,"Cannot open server port"
> QUIT }
> ELSE { WRITE !,"Server port opened" }
> loop
> USE io READ x ; Read for accept
> USE 0 WRITE !,"Accepted connection"
> JOB child:(:5:io:io) ;Concurrent server bit is on
> GOTO loop
> child
> WRITE $JOB,! ; Send job id on TCP device to be read by client
> QUIT


Does this example also work in the cach� evalution version? I never managed
to get it running there, when I start the routine I get the "Server port
opened" message alright, but when I open a browser window on that same
machine http://127.0.0.1:7001/testtest all I get is a "page can not be
displayed"...tried it with all kinds of ports, firewall off and everything,
always the same result.

Uli

uli

unread,
Aug 5, 2009, 5:23:30 AM8/5/09
to
Sorry, I forgot to mention that I also get the "Accepted connection" message
displayed by the program, so that the browser input has definitely been
acknowledged by the program.

Uli

"uli" <ulrich...@freenet.de> schrieb im Newsbeitrag
news:4a794e69$0$10490$9b62...@news.freenet.de...

0 new messages