|go ahead... be a heretic
best way to rpc on win32?by RolandGunslinger (Curate)
|on Oct 22, 2003 at 16:39 UTC
RolandGunslinger has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to write a perl script that will exec a command to stop and then restart a service on a remote win32 server if that service is not functioning. I know how to determine if the service isn't functioning, but I don't know how to initiate an rpc call to that remote pc. What's the best way to do this with perl under win32? Thanks in advance. UPDATE: I was looking for a straight perl solution, I've played around with IPC::Msg but can't seem to get it to work on Win2000, don't know if I have something wrong or if it just isn't win32 compatible. Didn't know if there were any other "pure perl" options. The llama in me wants to do it straight perl if I can....