From: hickert Date: Thu, 29 Nov 2007 15:05:08 +0000 (+0000) Subject: Added socket server for some FAI developments X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=007cec68816a70983d3fcefe0b0e2463ef0a201c;p=gosa.git Added socket server for some FAI developments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7944 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/contrib/socket_server/server.php b/contrib/socket_server/server.php new file mode 100755 index 000000000..a96b65084 --- /dev/null +++ b/contrib/socket_server/server.php @@ -0,0 +1,79 @@ +#!/usr/bin/php5 -q + array('socket' => $socket)); + +echo "\nServer startet on port : ".$port." +You may use telnet to connect to the server +"; + +while(TRUE) { + $read[0] = $socket; + for($i=1;$i