http://www.perlmonks.org?node_id=997176


in reply to How do create a windows service that simply sends a packet?

You should probably start with developing a program that listens and prints a packet.

This is what would be considered to be a minimalist socket "server".

Once that works, you can be a "Client" - that can send a packet. Have the client send a packet to the lister, and ensure that works.

Code samples and explanations are in "perldoc perlipc".

If you run into specific issues (and you will), post your question here.

Once the socket send/listen work, add the Windows service using the suggested modules from the previous node by Anonymous Monk.

             I hope life isn't a big joke, because I don't get it.
                   -SNL

  • Comment on Re: How do create a windows service that simply sends a packet?