This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

(./) udp.pde - how to use UDP library as unicast connection (cc) 2006, Cousot stephane for The Atelier Hypermedia (->) http://hypermedia.loeil.org/processing/ Create a communication between Processing<->Pure Data @ http://puredata.info/ This program also requires to run a small program on Pd to exchange data (hum!!! for a complete experimentation), you can find the related Pd patch at http://hypermedia.loeil.org/processing/udp.pd -- note that all Pd input/output messages are completed with the characters ";\n". Don't refer to this notation for a normal use. -- init To perform any action on datagram reception, you need to implement this handler in your code. This method will be automatically called by the UDP object each time he receive a nonnull message. By default, this method have just one argument (the received message as byte[] array), but in addition, two arguments (representing in order the sender IP address and his port) can be set like below.

Source code: UDP_lib_server

Built with Processing