diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-06-18 18:47:40 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-06-18 18:47:40 +0000 |
commit | 40519d4525b5fcad5362c665758c766fc3b4b118 (patch) | |
tree | fa8dcba402aa40e16643ff368118c10a8bf91215 /doc/tutorials/networking/03.tcp_and_udp.pd | |
parent | c74d528d30aa0623e5e00069d4521bb683564756 (diff) |
- QA'ed tutorial patches to make sure that the objects all load, and that the
patches are all the same size and location
svn path=/trunk/; revision=10034
Diffstat (limited to 'doc/tutorials/networking/03.tcp_and_udp.pd')
-rw-r--r-- | doc/tutorials/networking/03.tcp_and_udp.pd | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/doc/tutorials/networking/03.tcp_and_udp.pd b/doc/tutorials/networking/03.tcp_and_udp.pd index b301525f..3d2ad90d 100644 --- a/doc/tutorials/networking/03.tcp_and_udp.pd +++ b/doc/tutorials/networking/03.tcp_and_udp.pd @@ -1,5 +1,6 @@ -#N canvas 185 93 648 468 10; -#X obj 511 62 import maxlib; +#N canvas 10 40 620 460 10; +#X declare -lib libdir; +#X obj 440 65 import maxlib oscx mrpeach; #X obj 10 10 cnv 15 400 40 empty empty tcp_and_udp 20 12 0 24 -228992 -66577 0; #X text 11 66 There are two main protocols for transmitting data over @@ -13,19 +14,23 @@ data \, its guaranteed to arrive.; #X obj 54 223 netsend; #X obj 266 224 netclient; #X obj 359 224 netserver; -#X text 178 285 UDP stands for User Datagram Protocol. It is a lightweight +#X text 178 265 UDP stands for User Datagram Protocol. It is a lightweight \, simple protocol that is meant to be as quick and small as possible. The downside is that the data packets are not guaranteed to arrive. ; #X obj 35 180 pddp/pddplink http://en.wikipedia.org/wiki/Transmission_Control_Protocol ; -#X obj 177 345 pddp/pddplink http://en.wikipedia.org/wiki/User_Datagram_Protocol +#X obj 177 325 pddp/pddplink http://en.wikipedia.org/wiki/User_Datagram_Protocol ; #X obj 132 224 netreceive 32194; -#X obj 265 376 netreceive 32194 1; -#X obj 187 376 netsend 1; -#X obj 407 376 sendOSC; -#X obj 478 376 dumpOSC 32192; +#X obj 305 356 netreceive 32194 1; +#X obj 227 356 netsend 1; +#X obj 447 356 sendOSC; +#X obj 518 356 dumpOSC 32192; #X text 180 399 One advantage to UDP is that you do not need to maintain a connection to receive data. Whenever you open a UDP port \, you will start receiving data.; +#X obj 442 224 tcpclient; +#X obj 525 224 tcpserver; +#X obj 143 356 udpreceive; +#X obj 70 356 udpsend; |