Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rpc_listen(3ncs) [ultrix man page]

rpc_listen(3ncs)														  rpc_listen(3ncs)

Name
       rpc_listen - listen for and handle remote procedure call (RPC) packets (server only)

Syntax
       #include <idl/c/rpc.h>

       void rpc_$listen(max_calls, status)
       unsigned long max_calls;
       status_$t *status;

Arguments
       max_calls      This  value  indicates  the  maximum number of calls that the server is allowed to process concurrently.	On ULTRIX systems,
		      this value should be 1; any other value is ignored and defaulted to one.

       status	      The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it  was
		      successful.

Description
       The  routine  dispatches  incoming  remote procedure call requests to manager procedures and returns the responses to the client.  You must
       issue or before you use This routine normally does not return.  A return from this routine indicates either an irrecoverable error, or that
       an call has been issued.  If is equal to status_$ok , the assumption is that has occurred.

Examples
       Listen for incoming remote procedure call requests.
       rpc_$listen (1, &status);

Diagnostics
       This section lists status codes for errors returned by this routine in

       rpc_$not_in_call    An internal error.

       rpc_$you_crashed    This error can occur if a server has crashed and restarted.	A client RPC runtime library sends the error to the server
			   if the client makes a remote procedure call before the server crashes,  then  receives  a  response	after  the  server
			   restarts.

       rpc_$proto_error    An internal protocol error.

       rpc_$bad_pkt	   The server or client has received an ill-formed packet.

Files
See Also
       intro(3ncs), rpc_shutdown(3ncs)

																  rpc_listen(3ncs)

Check Out this Related Man Page

rpc_clear_binding(3ncs) 												   rpc_clear_binding(3ncs)

Name
       rpc_clear_binding - unset the binding of an RPC handle to a host and server (client only)

Syntax
       #include <idl/c/rpc.h>

       void rpc_$clear_binding(handle, status)
       handle_t handle;
       status_$t *status;

Arguments
       handle The RPC handle whose binding is being cleared.

       status The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it was success-
	      ful.

Description
       The routine removes any association between an RPC handle and a particular server and host, but it does not remove the association  between
       the  handle and an object.  This routine saves the RPC handle so that it can be reused to access the same object, either by broadcasting or
       after resetting the binding to another server.

       A remote procedure call made using an unbound handle is broadcast to all Local Location Brokers (LLBs) on the local network.  If the call's
       interface  and  the  object  identified	by  the  handle are both registered with any LLB, that LLB forwards the request to the registering
       server.	The client RPC runtime library returns the first response that it  receives  and  binds  the  handle  to  the  first  server  that
       responded.

       The routine is the inverse of the routine.

Examples
       Clear the binding represented in handle:
       rpc_$clear_binding (handle, &status);

Diagnostics
       This section lists status codes for errors returned by this routine in

       rpc_$not_in_call    An internal error.

       rpc_$proto_error    An internal protocol error.

Files
See Also
       intro(3ncs), rpc_bind(3ncs), rpc_clear_server_binding(3ncs), rpc_set_binding(3ncs)

															   rpc_clear_binding(3ncs)
Man Page

15 More Discussions You Might Find Interesting

1. AIX

Nim Issue

Hi Guys.. Got a NIM issue.. Am trying to pull a image of a client from NIM server. am getting the following error... in standard error output.. 0042-001 nim: processing error encountered on "master": Usage: rm File... Am using the same script to pull image and it works fine..... (1 Reply)
Discussion started by: balaji_prk
1 Replies

2. UNIX for Dummies Questions & Answers

find number of incoming requests to a server

How to find the number of incoming requests to a http server and the maximum requests it can serve? (1 Reply)
Discussion started by: laddu
1 Replies

3. Infrastructure Monitoring

visual representation of server health

HI all, I want to make a webpage showing the status of services running on a server. for example email, http , etc. That way users can see that server status for themselfs. Maybe even show the status of each virtual domain running on the server. Any way to do this without buying some product? ... (4 Replies)
Discussion started by: mcraul
4 Replies

4. Programming

TCP status question

There is a server and a client,when client send a message to server,server can send a reply to client. The status of server and client is ESTABLISHED.Then I halt the client,I find the server status is CLOSE_WAIT and the client status is FIN_WAIT_2. Many minutes passed,I find the the server status... (1 Reply)
Discussion started by: konvalo
1 Replies

5. UNIX for Dummies Questions & Answers

To ftp file on a remote server

I want to send some files in .gz format from my desktop to a remote server. What will be the procedure for that thanks (5 Replies)
Discussion started by: supercops
5 Replies

6. UNIX for Advanced & Expert Users

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

7. Programming

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

8. UNIX for Dummies Questions & Answers

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

9. Programming

help remote procedure call

am beginig with unix c code for sun remote procedure call You are to write a program using RPC facility to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array... (1 Reply)
Discussion started by: auto2000
1 Replies

10. UNIX for Advanced & Expert Users

Office server => laptop =>client server ...a lengthy and laborious ftp procedure

(0 Replies)
Discussion started by: kunwar
0 Replies

11. Solaris

Jumpstart issue

Keep getting this message after system identification portion. Search complete. Discovering additional network configuration... Completing system identification... Starting remote procedure call (RPC) services:Assertion failed: *count <= max, file ns_dns_misc.c, line 189 Abort - core dumped... (0 Replies)
Discussion started by: soupbone38
0 Replies

12. Red Hat

What do you do right after a server crashed.

What do you check???? Thanks! JC (0 Replies)
Discussion started by: 300zxmuro
0 Replies

13. UNIX for Dummies Questions & Answers

After login to a server getting NOTHING

Hello , I am getting a strange result when trying to login to a server with my credentials, terminal getting hang i.e NOTHING . If i see the process status with other account getting some process rpc_wa is running , Could you please comment /suggest on this. Thanks (0 Replies)
Discussion started by: posix
0 Replies

14. Programming

attach message at runtime

Hello, I have a client C and server C, the client connects to the server and sends a message. At runtime I want to attach to the message sent, a couple (x, y) Do you know a mechanism that allows me this? Thank you. Cordially. (5 Replies)
Discussion started by: chercheur857
5 Replies

15. UNIX for Advanced & Expert Users

CMD to check status of the server using Wget

Hi All, Using Wget I'm able to get the status of the server.....only when the server is completely down or up.... but problem here in script is Suppose if the server got hang I mean to say that if the server is taking long time to login, for example normally the server takes 3 seconds to login... (3 Replies)
Discussion started by: manohar2013
3 Replies