From d41e58e6cd71fdacdca69ba78c29d42dc7d330d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 20 Nov 2002 17:46:33 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r224, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/maxlib/; revision=225 --- help/help-netserver.pd | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 help/help-netserver.pd (limited to 'help/help-netserver.pd') diff --git a/help/help-netserver.pd b/help/help-netserver.pd new file mode 100644 index 0000000..a849bd5 --- /dev/null +++ b/help/help-netserver.pd @@ -0,0 +1,50 @@ +#N canvas 246 114 752 474 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 ; +#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 obj 477 189 netclient; +#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 "; +#X text 110 70 send message on specified socket; +#X text 200 143 "client "; +#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 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 23 0; +#X connect 14 1 18 0; +#X connect 15 0 14 0; +#X connect 16 0 14 0; +#X connect 17 0 14 0; +#X connect 19 0 11 0; +#X connect 23 0 20 0; +#X connect 23 1 22 0; +#X connect 23 2 21 0; +#X connect 24 0 11 0; -- cgit v1.2.1