-----Original Message-----
From: owner-linux-net@vger.rutgers.edu
[mailto:owner-linux-net@vger.rutgers.edu] On Behalf Of Glynn Clements
Sent: August 12, 1999 4:28 AM
To: dave-mlist@bfnet.com
Cc: linux-net@vger.rutgers.edu
Subject: Re: What's the easiest way to find if a socket is connected?
dave-mlist@bfnet.com wrote:
> I know that I can read proc/X/fd, and crossreference with /proc/net/tcp,
but
> there must be an easier way to discover if a socket is connected or not.
Why do you need to read proc/X/fd? /proc/net/tcp should suffice.
-- Glynn Clements <glynn@sensei.co.uk>- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu
- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu