Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!lll-lcc!styx!ames!ucbcad!ucbvax!jade!violet.berkeley.edu!mwm From: mwm@violet.berkeley.edu.UUCP Newsgroups: comp.sys.amiga Subject: Servers, libraries, devices and handlers Message-ID: <3457@jade.BERKELEY.EDU> Date: Tue, 5-May-87 11:37:22 EDT Article-I.D.: jade.3457 Posted: Tue May 5 11:37:22 1987 Date-Received: Fri, 8-May-87 01:00:35 EDT Sender: usenet@jade.BERKELEY.EDU Reply-To: mwm@violet.berkeley.edu(Mike (My watch has windows) Meyer) Organization: Missionaria Phonibalonica Lines: 37 I just finished building a server/client pair on the Unix model: The server gets started, and opens a public port. The client opens the port, and crams commands down it. In other words, I do a "run ", and can then do " command", and everything works fine (actually, it's kinda cute issuing cli commands, and watching another window that you wouldn't expect to go through gyrations). This is all well and good, but I oughta be able to do better on the Amiga. What I'd like to do is arrange things so that when I run " command", it causes the server to be loaded from disk (if needed), and then starts it. Flushing the server from memory if nobody has any oustanding requests is also desirable. The library/device mechanism looks just about perfect, but there appears to be to much overhead (for devices, anyway). I suppose I could create a 1-entry-per-command library. Someone wanna comment on that? There are lots of things floating around called "xx-handler". None of the docs I can reach talk about these. Am I correct in assuming that this is just a device under a different name? Some requirements: I'd like for the server half to continue to be runnable in it's current mode, or at least compilable into that mode without the #ifdef's getting to deep. Also, the server has state that it'd be nice to keep around between open()s, if possible. Having it vanish isn't a catastrophe, but having it not vanish is much better. Of course, if I'm barking up the wrong tree, and there's an easy/obvious way to do this, I'd appreciate hearing about it. Thanx,