aboutsummaryrefslogtreecommitdiff
path: root/xgui/netserver/help-netserver.pd
diff options
context:
space:
mode:
Diffstat (limited to 'xgui/netserver/help-netserver.pd')
-rw-r--r--xgui/netserver/help-netserver.pd48
1 files changed, 48 insertions, 0 deletions
diff --git a/xgui/netserver/help-netserver.pd b/xgui/netserver/help-netserver.pd
new file mode 100644
index 00000000..10688163
--- /dev/null
+++ b/xgui/netserver/help-netserver.pd
@@ -0,0 +1,48 @@
+#N canvas 106 97 754 476 12;
+#X floatatom 49 333 5 0 0;
+#X floatatom 87 298 5 0 0;
+#X symbolatom 164 251 10 0 0;
+#X text 102 332 received data;
+#X text 140 298 number of connections;
+#X msg 49 54 print;
+#X floatatom 125 272 5 0 0;
+#X text 183 276 socket number;
+#X msg 103 179 broadcast hallo world!;
+#X text 288 179 send to all clients;
+#X text 144 33 written by Olaf Matthes <olaf.matthes@gmx.de>;
+#X obj 49 223 netserver 3000;
+#X text 137 120 send message to client no. 1;
+#X text 256 251 client's IP address;
+#X msg 498 116 connect localhost 3000;
+#X msg 511 143 disconnect;
+#X msg 477 84 send 23;
+#X floatatom 544 218 5 0 0;
+#X msg 83 91 send 380 17.3;
+#X floatatom 477 296 5 0 0;
+#X obj 600 281 print anything;
+#X obj 538 309 print list;
+#X obj 477 245 route float list;
+#X msg 98 142 client 1 23;
+#X text 204 91 "send <socketnumber> <data>";
+#X text 110 70 send message on specified socket;
+#X text 200 143 "client <clientnumber> <data>";
+#X text 48 379 This example demonstrates how to set up a client/server
+connection. Data sent by the client get's received and displayed by
+the server imediately. Or just try it the other way round...;
+#X text 38 15 netclient :: simple client that connects to netserver
+;
+#X obj 480 189 netsend;
+#X connect 5 0 11 0;
+#X connect 8 0 11 0;
+#X connect 11 0 0 0;
+#X connect 11 1 1 0;
+#X connect 11 2 6 0;
+#X connect 11 3 2 0;
+#X connect 14 0 29 0;
+#X connect 16 0 29 0;
+#X connect 18 0 11 0;
+#X connect 22 0 19 0;
+#X connect 22 1 21 0;
+#X connect 22 2 20 0;
+#X connect 23 0 11 0;
+#X connect 29 0 22 0;