Dec 31, 2008, 6:36 PM
Net::Telnet and Net::FTP create a socket.
Re: [anaki] Opening a process filehandle
Is there a particular reason you fell you require a filehandle?
BTW, Win32::Socketpair creates a socket.
One of the advantages of using Net::Telnet and Net::FTP (or the underlying IO::Socket which they use), is that your script can be platform independent. If you use a Win32 specific module, then you're locked into using that script only on Windows boxes. I try to avoid that whenever possible.
I should make a clarification. Win32::Socketpair::winopen2 creates a socket which is then wrapped in a filehandle.
(This post was edited by FishMonger on Dec 31, 2008, 6:43 PM)