How to write perl agent for windows os

65 Views Asked by At

I want to develop an agent (preferably in perl ) for windows , that when requested from other host pass on information to requester host.

Are there any API that can be used to serve above purpose ? Is there any recommended way of doing this.

I want to get some expert comments on it,before actually starting it.

1

There are 1 best solutions below

2
On

Windows won't be a problem with ActivePerl or Strawberry Perl. You can run your program as a service if you can follow a few easy directions.

When you say "agent" do you mean "network service"? You can use HTTP::Server::Simple to do a basic http-based agent, or if you want to build your own protocol you can always use IO::Socket::INET.

Ultimately it depends on what kind of "agent" you need, and how you want to access the agent.