[Mono-list] getting fd for socket
Dick Porter
dick@ximian.com
07 Jul 2004 10:03:58 +0100
On Wed, 2004-07-07 at 00:31, James Willcox wrote:
> 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?
It's a HANDLE.
There are a number of get/setsockopts that are wrapped by the runtime,
so hopefully it will be one of those. Otherwise, find me online and we
can figure out what you need.
- Dick