cwbe coordinatez:
101
63533
64889
1111978

ABSOLUT
KYBERIA
permissions
you: r,
system: public
net: yes

neurons

stats|by_visit|by_K
source
tiamat
K|my_K|given_K
last
commanders
polls

total descendants::
total children::1
show[ 2 | 3] flat


Hi,

yesterday, I played with networking support in PD. The resulting patch allowed me to display text, that I typed in my cellphone. The idea is like this: I have a Jabber client application. I have a user, that I can send messages to. Simple perl script connects to jabber server, receives a message and translates it into PD control protocol, that is then received from the patch.

The patch is here:



The netreceive 3001 box listens on port 3001 for commands (ended by ;). It sends them on outlet. The simplest thing to do is to simply connect it to text3d box to control it, but you can connect it to the send patch and then receive on various places (so you can even control rotation and everything else).

Then the jabber connector, can be downloaded here. This script connects to jabber server and to port 3001.

Questions welcome :).




0000010100063533000648890111197801112203
juraj
 juraj      11.09.2004 - 18:32:48 , level: 1, UP   NEW
ah, one more thing. for the perl jabber client to work, you have to install Net::Jabber perl extension. I tried this with Mac OS X:

perl -MCPAN -e shell

here, you have to answer few question. Defaults are acceptable, the only thing you would need to type is to choose a mirror.

Then you do this:

install Net::Jabber

it should download and install Net::Jabber extension (and all the prerequisities, which you should accept, if it asks you if it can install it). The last extension failed the tests, so I had to do:

force install Net::Jabber

(it works, I don't know what test failed, but obviously that functionality was not needed in this simple perl script).

hope it works.