aboutsummaryrefslogtreecommitdiff
path: root/externals/vanilla/netreceive-help.pd
blob: b4bd3f9c6e0c5ed1906ebbd06770b19cd652a739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;