rpc_sockaddr_to_name man page on Ultrix

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

rpc_sockaddr_to_name(3ncs)			    rpc_sockaddr_to_name(3ncs)

Name
       rpc_sockaddr_to_name - convert a socket address to a host name and port
       number (client or server)

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

       void   rpc_$sockaddr_to_name(sockaddr,	 slength,    name,    nlength,
				       port, status)
       socket_$addr_t *sockaddr;
       unsigned long slength;
       unsigned char name;
       unsigned long *nlength;
       unsigned long *port;
       status_$t *status;

Arguments
       sockaddr		   A socket address.

       slength		   The length, in bytes, of sockaddr.

       name		   A  string  that  contains  the  host	 name  and the
			   address family.  The format is  family:host	[port]
			   where family is ip.

       nlength		   On input, nlength is the length of the name buffer.
			   On output, nlength  is  the	number	of  characters
			   returned in the name parameter.

       port		   The socket port number.

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

Description
       The  routine  provides  the address family, the host name, and the port
       number identified by the specified socket address.

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.	This routine has  been
			   superseded by the routine.

Files
See Also
       intro(3ncs), rpc_name_to_sockaddr(3ncs), socket_to_name(3ncs)

						    rpc_sockaddr_to_name(3ncs)
[top]

List of man pages available for Ultrix

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