LOG.debug("DEBUG: cmd: " + cmd);
process = runClient(cmd, env); // fork c++ binary
try {
if (streamingEnabled) {
downlink = new StreamingProtocol(peer, process.getOutputStream(),
process.getInputStream());
} else {
LOG.debug("DEBUG: waiting for Client at "
+ serverSocket.getLocalSocketAddress());
serverSocket.setSoTimeout(SERVER_SOCKET_TIMEOUT);