Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: what else from port ?

by exilepanda (Pilgrim)
on Jul 17, 2012 at 16:03 UTC ( #982272=note: print w/replies, xml ) Need Help??

in reply to Re: what else from port ?
in thread what else from port ?

The thing I am look for is exactly in server nature. It's just I am trying to get avoid from going through the TCP layer.

For example, I have a daemon keep monitoring different folders. And while certain condition happen to the files, it raise another perl script to ask for what to do about them. I will input some command via STDIN, and then send back to the daemon server.

For another example, I have a shortcut on desktop, and I can drop files to it, and it calls a script with a file list as ARGV. the scrip then ask the server if they are identical to some existed files. ( The server has carried all the MD5 code of the monitoring (sub)folders ).

Replies are listed 'Best First'.
Re^3: what else from port ?
by BrowserUk (Pope) on Jul 17, 2012 at 16:52 UTC

    Windows supports a wealth of IPC mechanisms:

    However, IFAIK, only a few of those are available from Perl. And some of those are via not well tested modules (eg. Win32::Pipe).

    To decide which is appropriate for each particular application, you have to understand the pros & cons of each mechanism. To get advise, you need to supply specific details of each application.

    You can start your investigations here.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Thanks Pope! I got the point for where to start now. =)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982272]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2018-04-24 09:55 GMT
Find Nodes?
    Voting Booth?