000ecef556dbb0c2b00dfcede38874889d34444f
[pengine.git] / unittests / commrecv.php
1 <?php 
2 require_once("../lib/lib.php");
3
4 function myfunction($msg)
5 {
6         echo "got a msg\n";
7         print_r($msg);
8         echo "end message\n";
9         $returnmsg["0"] = "asdf";
10         
11         return $returnmsg; 
12 }
13 $mn = new netCom(true, "127.0.0.1", false);
14
15 $pid = $mn->go("myfunction");
16 ?>