socket_family_from_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_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 rou‐
			   tine 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  con‐
       vert 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)
[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