Socket File Descriptors for a process
I'm looking for a way to see the socket file descriptors for a process. I found pfiles but it seems to be for sun and I can't find anything for linux. Is there anyway to get the file descriptors for a given process in linux ? I'm using slackware, but I'm looking for a way that will works on all unix, or at least on all linux distros.