good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Interfacing unix with windowsby BrowserUk (Patriarch) |
on Aug 01, 2003 at 00:24 UTC ( [id://279823]=note: print w/replies, xml ) | Need Help?? |
If the Win32 machines filesystem is visible to the unix box (via Samba or similar) then you could have the Win32 app create a Named pipe and the unix app can just open/read/write to/from that. The nice things about this is that if the Win32 app creates the NP at a domain server, it can do so from any machine that can see the domain server and the unix app can run on any machine that can see that domain server. This indirection through a 3rd machine is rather easier to coordinate than ip.port combos. Win32::Pipe allows (limited) access to the native Named Pipe apis from perl. The downside is that the implementation is a blocking API with no apparent mechanism for timeouts. Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller If I understand your problem, I can solve it! Of course, the same can be said for you.
In Section
Seekers of Perl Wisdom
|
|