[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

6931: [MUD-Dev] Question for the list (Semi-OT)

[Full Header] [Plain Text]
From: Nathan F Yospe <yospe@hawaii.edu>
Newsgroups: nu.kanga.list.mud-dev
Date: Sat, 15 Aug 1998 13:26:46 -1000
Organization: Kanga.Nu
I've been trying to wrangle the solution to a problem for ages - I've heard
of, but never located, an application that's supposed to have the capacity,
but... there's a lot of knowledgeable people on this group. Maybe you know.

It's mud related, at least for me, but a minor technical detail.

What I'm looking for is a way, on a generalized unix platform, to track the
process that is currently binding a descriptor to a socket, and return that
process's pid, without su access...

For example, while on the host machine, I'd like to be able to make a call,
int p_id = get_owner(short portnum); Where I say p_id = get_owner(5000). It
seems like there should be some way to recover this, but... *shrug*
--

Nathan F. Yospe - Aimed High, Crashed Hard, In the Hanger, Back Flying Soon
Jr Software Engineer, Textron Systems Division (On loan to Rocketdyne Tech)
(Temporarily on Hold) Student, University of Hawaii at Manoa, Physics Dept.
yospe#hawaii.edu nyospe#premier.mhpcc.af.mil http://www2.hawaii.edu/~yospe/