Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: what else from port ?

by exilepanda (Monk)
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 ).


Comment on Re^2: what else from port ?
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-08-23 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls