Socketservice The socketservice program allows you to take any program that accepts input and produces output and turn it into a service that is accessible through tcp/ip. Building You can use ant to build an executable jar file from the source files. More information about ant can be found here: http://ant.apache.org/ Running You can run the socket service using a command line like this: java -jar socketservice.jar port command Where 'port' is the local tcp/ip port number where the service listens, and 'command' is the command that will be run for each incoming connection. Example The following command will start a service on port that echoes everything that is sent to it (only works on unix, of course). java -jar socketservice.jar 7777 cat You can test this by using telnet to connect to the service: telnet localhost 7777 And see that anything that you type in, is echoed. Copyright information Copyright (C) 2005 Technische Universiteit Eindhoven This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.