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

Nathan F Yospe yospe at hawaii.edu
Sat Aug 15 13:26:46 CEST 1998


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/






More information about the mud-dev-archive mailing list