ultrix man page for socket_family_from_name

Query: socket_family_from_name

OS: ultrix

Section: 3ncs

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

socket_family_from_name(3ncs)											     socket_family_from_name(3ncs)

Name
       socket_family_from_name - convert an address family name to an integer

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

       unsigned long socket_$family_from_name(name, nlength, status)
       socket_$string_t name;
       unsigned long nlength;
       status_$t *status;

Arguments
       name		   The textual name of an address family.  Currently, only ip is supported.

       nlength		   The length, in bytes, of name.

       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 returns the integer representation of the address family specified in the text string name.

Examples
       The server program for the banks example, accepts a textual family name as its first argument.  The program uses the following  routine	to
       convert this name to the corresponding integer representation:
       family = socket_$family_from_name
		     (argv[1], (long)strlen(argv[1]), &status);

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

														     socket_family_from_name(3ncs)
Related Man Pages
rpc_bind(3ncs) - ultrix
rpc_name_to_sockaddr(3ncs) - ultrix
rrpc_shutdown(3ncs) - ultrix
socket_equal(3ncs) - ultrix
socket_family_from_name(3ncs) - ultrix
Similar Topics in the Unix Linux Community
Can I change my hostname without messing things up?
PHP Write Man Pages to MySQL DB
Denial Of Service Attack Update