rpc man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



rpc(n)			Tnm Tcl Extension		   rpc(n)

_________________________________________________________________

NAME
       rpc - A simple RPC protocol for Tcl applications.
_________________________________________________________________

DESCRIPTION
RPC COMMAND
       rpc server port
	      Set  up  an RPC server listening an port port. This
	      command returns a rpc handle that be used to regis-
	      ter  Tcl	procs  that will be exported by a trivial
	      RPC protocol on top  of  TCP.  This  RPC	mechanism
	      allows us to write cooperating scripts without wor-
	      rying much about the communication protocol.

       rpc client host port
	      Connect to the RPC server running on host with port
	      port.   The  returned  client handle can be used to
	      invoke an exported proc on the server host.

       rpc delete handle
	      Delete a server or a client RPC handle. All connec-
	      tions associated with the handle will be closed.

       rpc register rpchandle proc
	      Export  proc  as	an  RPC	 callable  proc using the
	      server handle rpchandle. Only registered procs  can
	      be called by RPC clients.

       rpc unregister rpchandle proc
	      Remove  proc  from  the  list  of exported procs on
	      server handle rpchandle.

       rpc info [rpchandle]
	      Calling rpc info without any  arguments  returns	a
	      list  of	all  rpc  handles  that have been created
	      using the rpc server and rpc client command.   Info
	      about  a	specific  rpc  file  handle  rpchandle is
	      returned by using the optional argument. The result
	      is  a  list containing the tcp file handle used for
	      the communication and the list of	 registered  com-
	      mands for a rpc handle and a list of all files that
	      represent connections to an rpc server.  This  list
	      is empty if rpchandle belongs to a rpc client.

Tnm								1

rpc(n)			Tnm Tcl Extension		   rpc(n)

       rpc# [-async] proc arg1 arg2 ...
	      To  invoke  a  remote  procedure proc, use the same
	      syntax as used with a local invocation preceeded by
	      a client rpchandle. The result of the remote proce-
	      dure call will be	 returned  or  an  error  if  the
	      underlying  communication	 channel  signals errors.
	      The -async options can be used to invoke proc with-
	      out  waiting  for	 it to complete. The async option
	      will never return a result.

SEE ALSO
       scotty(1), Tcl(n)

AUTHORS
       Juergen Schoenwaelder <schoenw@cs.utwente.nl>

Tnm								2

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net