mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Socket vs File descriptor
@ 2009-09-24  6:51 KV Pavuram
  2009-09-24  7:10 ` Willy Tarreau
  2009-09-24  7:54 ` "YOSHIFUJI Hideaki (吉藤 英明)"
  0 siblings, 2 replies; 3+ messages in thread
From: KV Pavuram @ 2009-09-24  6:51 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-24  8:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-24  6:51 Socket vs File descriptor KV Pavuram
2009-09-24  7:10 ` Willy Tarreau
2009-09-24  7:54 ` "YOSHIFUJI Hideaki (吉藤 英明)"

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®