You'll need a client program on the other end to listen to your requests. Here's one I worked on ... wouldn't call it finished, only tested under Windows. You're welcome to see where it leads you ... http://www.surfscranton.com/architecture/CmdServer.htm
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi