Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Interfacing unix with windows

by BrowserUk (Patriarch)
on Aug 01, 2003 at 00:24 UTC ( [id://279823]=note: print w/replies, xml ) Need Help??


in reply to Interfacing unix with windows

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://279823]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found