01-06-2012
You should not be declaring clnt_create, by the way. That's a library function. I'm guessing you did so to get around 'undeclared function' warnings, but the real problem wasn't that it was undeclared, but that it didn't exist at all...
8 More Discussions You Might Find Interesting
1. Programming
Hi,
I am trying to create a CLIENT handle in RPC on Solaris. I am calling the following function
CLIENT *clnt = clnt_create(host, prognum, versnum, nettype);
However If I call this in main it seems to work but if I call this function in any other function it fails with a segmentation... (1 Reply)
Discussion started by: pic
1 Replies
2. Linux
Hi,
my problem is that I am not able to grand the nfs directory on a Fedora 7 server to a standard solaris client.
I always got the messages no permission.
Important: No change on the client (Solaris) is possible! So I am not able to change the NFS Version on the client side to force the... (3 Replies)
Discussion started by: joerg
3 Replies
3. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
4. Solaris
C: Rpcbind failure - RPC: Timed out error (solaris)
hello an nfs server on my sun fire v440 is not responding , i get the error bellow and lots of my networking services are not reponding, please helppppp its an emergency
RPC: Rpcbind failure - RPC: Timed out
i also get
NFS server... (2 Replies)
Discussion started by: feg
2 Replies
5. Solaris
Hi folks,
I am attempting to setup a Solaris 10 syslog server to receive logs from linux machines. Here's what I did:
On the server (SunOS sun226 5.10), IP address: 192.168.212.226:
1. start syslogdby issuing $/usr/sbin/syslogd -T
On a client (SunOS sun221 5.8):
1. Configured... (1 Reply)
Discussion started by: kimurayuki
1 Replies
6. Red Hat
Hello,
I was having few issues on my linux box, I am getting this error whenever I tried to mount a share on a client linux host.
# mount -t nfs 10.10.4.150:/data/pops_sva /mnt
mount: mount to NFS server '10.10.4.150' failed: RPC Error: Program not registered.
#
I see the error and I... (4 Replies)
Discussion started by: bobby320
4 Replies
7. Solaris
How do i install ldap server and client in solaris server
how to configure ldap server and client
please help me (1 Reply)
Discussion started by: ainstin
1 Replies
8. Solaris
Hi,
We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
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 register 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 worrying 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 connections 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 contain-
ing the tcp file handle used for the communication and the list of registered commands 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.
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 procedure call will be returned or an error if the underlying communication channel signals errors. The -async options
can be used to invoke proc without 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 rpc(n)