8 More Discussions You Might Find Interesting
1. AIX
I have 3 Power7 710 Express boxes and 1 Power7 750Express box that all get into a weird hung state with the same console message. they all have AIX 6.1 TL7 (2x6100-07-08-1339, 2x6100-07-10-1415).
"NIS: Server not responding for domain X.X.X; still trying."
There are other Clients that... (1 Reply)
Discussion started by: mrmurdock
1 Replies
2. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
3. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
4. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
5. UNIX for Dummies Questions & Answers
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. UNIX for Dummies Questions & Answers
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
7. Programming
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
8. OS X (Apple)
Hi,
I compiled with no error a C program, than I tryed to execute it and than I get this error:
connessione al server fallita: Address family not supported by protocol family
What does it mean?
Why I get this error only on Mac os x while on Ubuntu the program works?
The code is:... (3 Replies)
Discussion started by: DNAx86
3 Replies
socket_from_name(3ncs) socket_from_name(3ncs)
Name
socket_from_name - convert a name and port number to a socket address
Syntax
#include <idl/c/socket.h>
void socket_$from_name(family, name, nlength, port, sockaddr, slength, status)
unsigned long family;
socket_$string_t name;
unsigned long nlength;
unsigned long port;
socket_$addr_t *sockaddr;
unsigned long *slength;
status_$t *status;
Arguments
family The integer representation of an address family. Value can be socket_$internet or socket_$unspec If the family parameter is
socket_$unspec, then the name parameter is scanned for a prefix of family: (for example, ip:).
name A string in the format family:host[port], where family:, host, and [port] are all optional. The family is an address family. The
only valid family is ip. If you specify a family as part of the name parameter, you must specify socket_$unspec in the family
parameter. The host is a host name. A leading number sign (#) can be used to indicate that the host name is in the standard
numeric form (for example, #192.9.8.7). If host is omitted, the local host name is used. The port is a port number. If you spec-
ify a port as part of the name parameter, the port parameter is ignored.
nlength
The length, in bytes, of name.
port A port number. If you specify a port number in the name parameter, this parameter is ignored.
sockaddr
A socket address.
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 success-
ful.
Description
The routine converts a textual address family, host name, and port number to a socket address. The address family and the port number can
be either specified as separate parameters or included in the name parameter.
Files
See Also
intro(3ncs), socket_family_from_name(3ncs), socket_to_name(3ncs)
socket_from_name(3ncs)