Synchronous UDP Receiver
GH version 0.6.0019

Description:
This definition allows receiving with the User Datagram Protocol through .net. Please note, this definition uses a synchronous structure, meaning Rhino/GH will hang until some data is received from an external application. Please run the included Processing Sketch in order to begin transmitting continuous data to GH.

Examples:
http://www.livearchitecture.net/archives/3664
http://www.livearchitecture.net/archives/3732
http://www.livearchitecture.net/archives/3745

Requirements:
Grasshopper 0.6.0019
Processing 1.0.5: http://www.processing.org
UDP Library by Stephane Cousot for Processing: http://ubaa.net/shared/processing/udp/udp.zip

References:

http://msdn.microsoft.com/en-us/library/system.net.sockets.udpclient.aspx

Note: Some more flexibility can be achieved constructing the UDP receiver from a Socket, specifying UDP as the socket type.
Here is the reference to setting up an asynchronous receiver:
http://msdn.microsoft.com/en-us/library/bbx2eya8(VS.71).aspx
gh_udp