#include <stdio.h> int fileno(FILE *stream); Converts a stream pointer to a file descriptor.
J. Edward Ellis Pacific Northwest National Laboratory (509) 375-3627 voice (509) 375-2379 FAX mailto:[EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Willcox Sent: Tuesday, July 06, 2004 4:31 PM To: [EMAIL PROTECTED] Subject: [Mono-list] getting fd for socket Hi, I need to call getsockopt() on a Socket, and thought Socket.Handle would simply give me the fd. But that does not appear to be the case (it gives a much higher number than the fd). Does anyone know how I can acquire the fd of a socket? Thanks, James _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list