#N canvas 580 35 1045 650 12; #X floatatom 242 255 0 0 0 0 - - -; #X text 276 256 <--- number of open connections; #X obj 125 255 print tcp; #X text 259 163 creation arguments:; #X text 327 182 optional -u flag for UDP; #X text 327 201 optional -b flag for binary; #X text 326 222 optional port number; #X msg 124 91 listen 0; #X text 235 67 listen message to set or change port; #X text 231 92 (0 or negative number to close); #X msg 125 65 listen 3000; #X msg 146 140 send foo \$1; #X floatatom 146 117 0 0 0 0 - - -; #X text 257 287 other examples:; #X text 183 117 "send" (for TCP connections only) sends back to connected netreceive objects, f 76; #X obj 124 201 netreceive -u -b 3000; #X connect 7 0 15 0; #X connect 10 0 15 0; #X connect 11 0 15 0; #X connect 12 0 11 0; #X connect 15 0 2 0;