projects
/
pengine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
some fun data.
[pengine.git]
/
unittests
/
commrecv.php
diff --git a/unittests/commrecv.php
b/unittests/commrecv.php
new file mode 100644
(file)
index 0000000..
16fea30
--- /dev/null
+++ b/
unittests/commrecv.php
@@ -0,0
+1,13
@@
+<?php
+require_once("../lib/lib.php");
+
+$mn = new netCom(true);
+
+$mn->go();
+while(true) {
+ $mn->waitForConnection();
+ while(($msg = $mn->receiveMessage()) !== false) {
+ print_r($msg);
+ }
+}
+?>
\ No newline at end of file