[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

specifying protocol for service

   Date: Thu, 19 Apr 90 17:24:36 EST
   From: bouma@cs.purdue.edu

   When you call the function 'invoke-service-on-host' is there any way to
   specify the protocol for it to use? When I run that function on a host that
   is not in the namespace, I get thrown into the debugger. It does not know
   that that host supports that service. However, the first option in the
   debugger, s-A, asks to try the service anyway with some protocol the local
   machine knows about. I would like to give it the protocol I want to use
   and have it skip looking at the namespace. I should get into the debugger
   only if it fails to get a connection. Please tell me how this can be done.

In Genera 8.0 there is a proceed type that uses the first guessed protocol,
so you could use CONDITION-BIND to call this proceed option.

I also have a patch to the code that determines the protocols a host
supports by appending a set of per-system-type default service entries,
minus a set of per-host exceptions.  This permits you to say, for example,
and all UNIX42 systems support LOGIN/TCP/TELNET and FILE/TCP/TCP-FTP.  Let
me know if you want it.