syphilis has asked for the wisdom of the Perl Monks concerning the following question:
I would like to do the same thing in C. I already have the C equivalent of $sock ... I just need to do the fileno() and FdGetOsFHandle() bits, but I haven't yet found out how to do that. If someone knows, or has some hints on where I should be looking, that would be great.$fd = fileno($sock); $fd = Win32API::File::FdGetOsFHandle($fd);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [OT]: How to do fileno() and Win32::APIFile::FdGetOsFHandle() in C
by BrowserUk (Patriarch) on Dec 14, 2006 at 06:53 UTC | |
|
Re: [OT]: How to do fileno() and Win32::APIFile::FdGetOsFHandle() in C
by ikegami (Patriarch) on Dec 14, 2006 at 07:02 UTC | |
by syphilis (Archbishop) on Dec 14, 2006 at 09:03 UTC | |
|
Re: [OT]: How to do fileno() and Win32::APIFile::FdGetOsFHandle() in C
by Steve_p (Priest) on Dec 14, 2006 at 19:24 UTC | |
by ikegami (Patriarch) on Dec 14, 2006 at 19:46 UTC |