artico@TECULX.TECSIEL.IT (01/29/91)
Hi everybody! We have desperately been trying to implement a static server above the tsapd process. We do not know how to configure the isoservices and isoentities files so that the client process can correctly address the remote service. Example: suppose that our host name is HOSTNAME and the remote service is REMOTESERV, how would you configure the above mentioned files? We are following the ISODE Users's Manual Volume 1, nov 88 chap 8 section 3 page 147 without success. Paolo Artico Tecsiel S.p.A., Via S.Maria 19, I-56100 Pisa - Italy email: artico@tecsiel.it phone: +39-(50)-512571
lubich@bernina.ethz.ch (Hannes Lubich) (01/30/91)
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.