[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <179773.9311.qm@web8404.mail.in.yahoo.com>
Date: Wed, 23 Sep 2009 23:51:19 -0700 (PDT)
From: KV Pavuram <kvpavuram@...oo.co.in>
To: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Socket vs File descriptor
Hi,
Is there any ioctl call to determine if a given descriptor is a file descriptor or a socket descriptor.
Similarly, is there a way to find out a socket descriptor type ie.e if it is SOCK_STREAM, or SOCK_DGRAM type.
Thanks
Pav
See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists