From 57045df5fe3ec557e57dc7434ac1a07b5521bffc Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 29 Jul 2002 17:06:19 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r58, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=59 --- pd/doc/5.reference/netreceive.pd | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pd/doc/5.reference/netreceive.pd (limited to 'pd/doc/5.reference/netreceive.pd') diff --git a/pd/doc/5.reference/netreceive.pd b/pd/doc/5.reference/netreceive.pd new file mode 100644 index 00000000..b4bd3f9c --- /dev/null +++ b/pd/doc/5.reference/netreceive.pd @@ -0,0 +1,23 @@ +#N canvas 50 24 682 520 12; +#X obj 100 323 netreceive 3000; +#X floatatom 202 353 0 0 0; +#X obj 100 414 netreceive 3001 1; +#X text 33 36 The Netreceive object opens a socket for TCP ("stream") or UDP ("datagram") network reception on a specified port. If using TCP \, an outlet gives you the number of Netsend objects (or other compatible clients) have opened connections here.; +#X text 31 117 Incoming network messages appear on "receive" objects \; it's up to the sender to select which one. Here \, a "receive foo" fields messages sent from the Netsend help window \, q.v.; +#X text 108 270 first argument: portnumber = 3000; +#X text 105 291 second argument: 0 or none for TCP \, nonzero for UDP; +#X text 238 322 <-- TCP \, port 3000; +#X text 262 413 <-- UDP \, port 3001; +#X text 236 354 <--- number of open connections; +#X text 85 12 Netreceive -- listen for incoming messages from network; +#X text 26 383 incoming messages; +#X text 203 488 see also:; +#X obj 289 490 netsend; +#X obj 100 353 print tcp; +#X obj 100 442 print udp; +#X text 425 484 updated for Pd version 0.33; +#X text 30 207 SECURITY ALERT: don't publish the port number of your netreceive unless you wouldn't mind other people being able to send you messages.; +#X text 32 168 There are some possibilities for intercommunication with other programs... see the help for "netsend."; +#X connect 0 0 14 0; +#X connect 0 1 1 0; +#X connect 2 0 15 0; -- cgit v1.2.1