Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Association b/w sockets & processes Post 39103 by soorajmu on Wednesday 6th of August 2003 05:10:47 PM
Old 08-06-2003
Where i can get the lsof utility. I want it to use for HP-UX 11 machine. I found one lsof utility in HP-UX10.2 machine,copied to HP-UX 11. It gives a warning that lsof was compiled for HP-UX 10.2

then it gives an error,can't read namelist frm /stand/vmunix

Can I get the source code for this utility?? Smilie
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File Extension association in CDE

Hi, Any idea how to define the file extension association within CDE. I need to tell dtfile (the file manager) to open *.log files as text documents and not emails... Thanks! (2 Replies)
Discussion started by: me2unix
2 Replies

2. HP-UX

fd passing between Independent processes using unix domain sockets

Hi, I am having some error handling issues with and fd passed between Independent processes using unix domain sockets (On HPUX). Here is the scnerio ================= Step 1: TPC/Client (connect()) ---Connects to ------TCP/Server(Gateway) (server gets fd) Step 2: ... (2 Replies)
Discussion started by: Debasisb2002
2 Replies

3. Solaris

Identifying and grouping OS processes and APP processes

Hi Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages. Any free tools or scripts to do this? Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies

4. Shell Programming and Scripting

how to use the filehandle stored in a variable without knowing its file association

how to use the filehandle stored in a variable without knowing its file association i.e. the filename code my $logFH = $connObj->get('logFH'); infoPrint("Variable is of type IO \n") if(UNIVERSAL::isa($logFH, 'IO')); infoPrint("$logFH\n"); output == INFO :: Variable is of type... (0 Replies)
Discussion started by: rrd1986
0 Replies

5. Programming

Two player game, forking & sockets

Hi. I am just making first steps in Linux POSIX programming. I have read some tutorials on processes, signals and sockets (thanks Beej!), so some basic knowledge I have already got. I want to write some very basic game server. My idea is to have main process, which is waiting for new players. If... (7 Replies)
Discussion started by: Shang
7 Replies

6. UNIX for Dummies Questions & Answers

File association

Hi, I'm using unix solaris 2.8 with CDE and I would modify the file association in my desktop. I found the file /usr/dt/appconfig/types/C/datatypes.dt from this topic : File Extension association in CDE | Unix Linux Forums | UNIX for Dummies Questions & Answers but this file can only be... (3 Replies)
Discussion started by: Toug
3 Replies

7. Shell Programming and Scripting

What is the use of "finger" command & how to use it to kill the online processes ?

Hi there, I am eager to know what exactly is the use of "finger" command & how to use it to kill the online processes ? :b: (1 Reply)
Discussion started by: abhijitpaul0212
1 Replies
SCTP_GETPADDRS(3)					     Linux Programmer's Manual						 SCTP_GETPADDRS(3)

NAME
sctp_getpaddrs - Returns all peer addresses in an association. SYNOPSIS
#include <sys/types.h> #include <sys/socket.h> #include <netinet/sctp.h> int sctp_getpaddrs(int sd, sctp_assoc_t assoc_id, struct sockaddr **addrs); void sctp_freepaddrs(struct sockaddr *addrs); DESCRIPTION
sctp_getpaddrs returns all peer addresses in an association. On return, addrs will point to a dynamically allocated packed array of sock- addr structures of the appropriate type for each address. The caller should use sctp_freepaddrs to free the memory. Note that the in/out parameter addrs must not be NULL. If sd is an IPv4 socket, the addresses returned will be all IPv4 addresses. If sd is an IPv6 socket, the addresses returned can be a mix of IPv4 or IPv6 addresses. For one-to-many style sockets, id specifies the association to query. For one-to-one style sockets, id is ignored. sctp_freepaddrs frees all the resources allocated by sctp_getpaddrs. RETURN VALUE
On success, sctp_getpaddrs returns the number of peer addresses in the association. If there is no association on this socket, 0 is returned and the value of *addrs is undefined. On error, sctp_getpaddrs returns -1 and the value of *addrs is undefined. SEE ALSO
sctp(7) sctp_bindx(3), sctp_connectx(3), sctp_sendmsg(3), sctp_send(3), sctp_recvmsg(3), sctp_peeloff(3), sctp_getladdrs(3), sctp_opt_info(3), Linux 2.6 2005-10-25 SCTP_GETPADDRS(3)
All times are GMT -4. The time now is 02:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy