Getting the PID
Getting the PID
- Subject: Getting the PID
- From: Matt Jaffa <email@hidden>
- Date: Wed, 10 Dec 2003 16:45:34 -0700
Ok,
I am trying to get the PID of something.
All I basically have to work with is
a socket file descriptor.
say when you do this int so = socket(....,....., ...., ... etc.);
you get back the socket file descriptor, now how can i take that number
and see which process created it?
Thanks,
Matt
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.