[Mono-list] getting fd for socket
Wed, 07 Jul 2004 08:18:51 -0700
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@example.com] On Behalf Of James Willcox
Sent: Tuesday, July 06, 2004 4:31 PM
Subject: [Mono-list] getting fd for socket
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?