From: Roger Pack Date: 2010-04-01T14:36:29+09:00 Subject: Re: socket programming...lsof? Derek Smith wrote: > Hi All, > > Is there a ruby substitute for lsof's functionality? Meaning I want to > listen on certain ports/sockets such as identd's port 113 to see if any > process is using this port. Is this possible in Ruby w/out using lsof? You could try binding to that port and rescue the error (error meaning it's in use). Dunno if that helps. -rp -- Posted via http://www.ruby-forum.com/.