Sponsored Content
Operating Systems OS X (Apple) Address family not supported by protocol family Post 302189686 by DNAx86 on Sunday 27th of April 2008 10:04:55 AM
Old 04-27-2008
No one can give me an advice?
 

7 More Discussions You Might Find Interesting

1. Programming

help me understand exec() family of calls...

how does exec() do it? on successful call of exec() family of functions, they never return... how to i emulate that. assume the standard example, execl("/bin/ls","ls",NULL); now this would never return. i m trying to emulate exec()'s never to return feature... #include<unistd.h>... (4 Replies)
Discussion started by: c_d
4 Replies

2. Solaris

Out of family NDU causing servers to hang

Had to reboot over 30 servers out of 70 or so during out of family code load. Still searching but may all have VxVM 3.5 in common. Our last window had similar outcome but on HPUX. I think it has to do with time outs and volume manager is offlining the devices. This just started happening. Anyone... (0 Replies)
Discussion started by: GaryP
0 Replies

3. UNIX for Dummies Questions & Answers

Family tree illustrated

hello is there a family tree, or words that would illustrate the family tree of, Unix -> Linux As i would understand Unix, it is a OS. And Linux is a ?, is Linux a OS or a sub structure inside of the Unix OS ?. Have you ever seen one of those family tree`s where ma and pa are shown at... (3 Replies)
Discussion started by: cowLips
3 Replies

4. Programming

Working of exec family of functions

Hi, I am studying exec family of functions.Its man page says,it replaces the current process image with a new process image. If it replaces the binary,then after returning back,how does it get the previous parameters of the process which called exec?As replacing process image means replacing all... (1 Reply)
Discussion started by: Radha.Krishna
1 Replies

5. UNIX for Dummies Questions & Answers

Working of exec family of functions

Hi, I am studying exec family of functions.Its man page says,it replaces the current process image with a new process image. If it replaces the binary,then after returning back,how does it get the previous parameters of the process which called exec?As replacing process image means replacing... (5 Replies)
Discussion started by: Radha.Krishna
5 Replies

6. AIX

Determine power family of p system from the model #.

Folks, Again a very silly question :D Could someone tell me, how to determine the power family(540, 520, 575, 595 etc) just by looking into the model # info from prtconf/lsconf o/p of the lpar? I dont want run a search on any search engine to find out the power family or hit IBM website to... (3 Replies)
Discussion started by: thisissouvik
3 Replies

7. Programming

Simple shell running with exec family

# Erroneous question, so can be removed. (0 Replies)
Discussion started by: beginnerboy
0 Replies
rpc_name_to_sockaddr(3ncs)												rpc_name_to_sockaddr(3ncs)

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

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

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

Arguments
       name		   A  string  that  contains  a host name and, optionally, a port and an address family.  The format is family:host[port],
			   where family: and [port] are optional.  If you specify a family as  part  of  the  name  parameter,	you  must  specify
			   socket_$unspec in the family parameter.  The family part of the name parameter is ip; host is the host name; port is an
			   integer port number.

       nlength		   The number of characters in name.

       port		   The socket port number.  This parameter should have the value rpc_$unbound_port if you are not specifying a	well-known
			   port;  in  this case, the returned socket address will specify the Local Location Broker (LLB) forwarding port at host.
			   If you specify the port number in the name parameter, this parameter is ignored.

       family		   The address family to use for the socket address.  This value corresponds to the communications protocol used to access
			   the socket and determines how the sockaddr is expressed.  If you specify the address family in the name parameter, this
			   parameter must have the value socket_$unspec.

       sockaddr 	   The socket address corresponding to name, port, and family.

       slength		   The length, in bytes, of sockaddr.

       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 provides the socket address for a socket, given the host name, the port number, and the address family.

       You  can specify the socket address information either as one text string in the name parameter or by passing each of the three elements as
       separate parameters( name, port, and family ); in the latter case, the name parameter should contain only the hostname.

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_sockaddr_to_name(3ncs), socket_from_name(3ncs)

															rpc_name_to_sockaddr(3ncs)
All times are GMT -4. The time now is 09:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy