🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.iso.dev-environ
Article #444

Re: question about static servers

#444
From: Hannes Lubich
Date: Tue, 29 Jan 1991 18:15
77 lines
2441 bytes
Paolo,
we've set up such a server some time ago and use it under ISODE-6.0 in
the follwing way (based on the application cookbook):

isoentities entry:
==================
...

# templates for local services: 1.17.4.1
#       local additions go here...

default         littlemeth      1.17.4.1.7      #1031/#1/#1/

#       local additions end here (do not remove this line)


# examples of specific services: 1.17.4.2
#       this section is empty

...

# Swiss Federal Institute of Technology Zurich: 1.17.4.3.16

multimeth        default        1.17.4.3.16.1.0 \
                Int-X25(80)=022849911084131

ktik5   littlemeth              1.17.4.3.16.6.0 \
                #1031/Internet=ktik5+17005

...

isobjects entry:
================

...
# additions for local ISODE programs are made to the site's
objects.local file
"isode littlemeth pci"  1.17.2.1.1
"isode littlemeth"      1.17.2.1.2
...

isoservices entry:
==================
...
"tsap/littlemeth"      #1031       /usr/users/isode/MultimETH/bin/ros.server
...


On the client side, we define:

#define myservice "littlemeth"
#define mycontext "isode littlemeth"
#define mypci "isode littlemeth pci"

which we use as follows:

assoc = AssocEstablish (argc, argv, myservice, mycontext, mypci,
                        dispatches, table_InvLittlemETH_Operations);

and on the server side we define:

static char     *myservice = "littlemeth";

which we then use in:

server (argc, argv, PLocalHostName (), myservice, dispatches,
        table_LittlemETH_Operations);


That's basically it.
Best Wishes
	--HaL
-- 
~ UUCP/Usenet 	       : {known world}!mcsun!cernvax!ethz!lubich
~ or                   : lubich@ethz.uucp
~ CSNET/ARPA/BITNET    : lubich@komsys.tik.ethz.ch
~ The usual disclaimer : No, it wasn't me, somebody must have used my account.
Technical Details
Message-ID: <1991Jan29.181527.2186@bernina.ethz.ch>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!emory!sol.ctr.columbia.edu!caen!sdd.hp.com!spool.mu.edu!uunet!mcsun!cernvax!chx400!bernina!lubich
References: <9101281723.AA05999@tecsiel.it>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!emory!sol.ctr.columbia.edu!caen!sdd.hp.com!spool.mu.edu!uunet!mcsun!cernvax!chx400!bernina!lubich
From: lubich@bernina.ethz.ch (Hannes Lubich)
Newsgroups: comp.protocols.iso.dev-environ
Subject: Re: question about static servers
Message-ID: <1991Jan29.181527.2186@bernina.ethz.ch>
Date: 29 Jan 91 18:15:27 GMT
References: <9101281723.AA05999@tecsiel.it>
Reply-To: lubich@komsys.tik.ethz.ch (Hannes Lubich)
Distribution: inet
Organization: Swiss Federal Institute of Technology (ETH), Zuerich
Lines: 77