socket_to_numeric_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]

socket_to_numeric_name(3ncs)			  socket_to_numeric_name(3ncs)

Name
       socket_to_numeric_name - convert a socket address to a numeric name and
       port number

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

       void socket_$to_numeric_name(sockaddr, slength,	name,  nlength,	 port,
				      status

       socket_$addr_t *sockaddr;
       unsigned long slength;
       socket_$string_t name;
       unsigned long *nlength;
       unsigned long *port;
       status_$t *status;

Arguments
       sockaddr		   A socket address.  The socket address is the struc‐
			   ture returned by either or

       slength		   The length, in bytes, of sockaddr.

       name		   A string in	the  format  family:host[port],	 where
			   family  is  the address family and host is the host
			   name in the standard	 numeric  form	(for  example,
			   #192.7.8.9  for  an IP address).  Currently only ip
			   is supported for family.

       nlength		   On input, the maximum length, in bytes, of the name
			   to  be  returned.   (error  if  less	 than  size of
			   "nnnnn.nnnn").  On output, the actual length of the
			   name returned.

       port		   The 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  converts  a socket address to a textual address family, a
       numeric host name, and a port number.

Files
See Also
       intro(3ncs),    socket_family_to_name(3ncs),    socket_from_name(3ncs),
       socket_to_name(3ncs)

						  socket_to_numeric_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