netsend

From Pdpedia

Jump to: navigation, search
netsend
{{{example_image}}}
caption
Description: send messages over a network connection
Abbreviation:  
Library: vanilla
Author(s): Miller S. Puckette and others
Developer(s):
Release version:
Release date: 2007
Status: active
Dependencies:
License: BSD
Website: http://crca.ucsd.edu/~msp/software.html
Programming Language:
Platform(s): GNU/Linux, Mac OS X, Windows
Language: English
Data type(s): message
Distribution(s): DesireData, PDa, Pd-extended, Pd-vanilla, puredata debian package, pure:dyne



Netsend -- send Pd messages over a network

The Netsend object connects to another machine over the network for sending TCP ("stream") or UDP ("datagram") messages. An outlet reports whether the connection is open or not. A connection request should specify the name or IP address of the other host and the port number. There should be a "Netreceive" on the remote host with a matching port number.

Opt@web.fm has made compatible objects for Max so that Pd and Max can intercommunicate: see ftp://fals.ch/pub/pdnets/.

The Linux version of Pd comes with "pdsend" and "pdreceive" standalone programs. These haven't been tested in Windows yet (but the source is included in the Pd distribution.)

TCP

Outlet is nonzero if connection is open, zero otherwise.

UDP

Connect to "localhost" port 3000/3001

Close the connection

Send messages to "foo" on remote machine

creation argument: 0 or none for TCP, nonzero for UDP

see also:

updated for Pd version 0.33



Contents

[edit] Inlets

[edit] Outlets

[edit] Arguments

[edit] Messages

Personal tools