netstat programming with C in AIX 4.3
From: Robin (fly2com@hananet.net)
Date: 04/11/03
- Next message: Dan Foster: "What is this mystery fileset for?"
- Previous message: Robin: "netstat programming with C in AIX 4.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: fly2com@hananet.net (Robin) Date: 10 Apr 2003 16:54:34 -0700
Hi I'm Robin in South Korea.
Do me a favor please?
I am writing an application that needs some information on established
network connection in the system. (for example. netstat -a | grep
specific port)
I couldn't figure out how to do it under AIX. This information may be
as a
kernel variable, but I couldn't find any information on that.
So, I am asking the AIX gurus how to get data on the established tcp
connections under AIX (4.3). Of course, I can run netstat from within
my program and extract the info I need from the output by
pipe(popen("netstat", "-r")), but there
should be some more elegant way :-).
please, give me a any comment.
Thank you
- Next message: Dan Foster: "What is this mystery fileset for?"
- Previous message: Robin: "netstat programming with C in AIX 4.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|