Hello list,
is there any method of getting the IP address of the computer the patch is running on? I would like to simplify the process of connecting two patches by sending the second patch the IP address of the first patch.
Thanks Urs
Urs Liska wrote:
Hello list,
is there any method of getting the IP address of the computer the patch is running on?
[shell] + ipconfig ?
i guess the problem is, that most computers are virtually multi-homed (having multiple network cards and IP-addresses attached to them): very few (actually not true: more and more gaming computers are shipped with dual ethernet cards) computers have multiple real ethernet cards. however, apart from your normal network card (eth0) bound to whatever IP you assign to it, you have a loopback device (lo) bound to 127.0.0.1 (localhost) so you have to make a decision which network device you want to transmit as your "local IP" address. (in most cases, 127.0.0.1 is not what you want to transmit)
I would like to simplify the process of connecting two patches by sending the second patch the IP address of the first patch.
i would use some magic in a startup script which queries the IP address and then saves it to a file or sends it to pd using the "-send" flag when starting pd (i would prefer the later as it needs no additional files)
mfg.ad.r IOhannes
Thanks Urs
hi
IOhannes m zmoelnig zmoelnig@iem.at wrote:
Urs Liska wrote:
I would like to simplify the process of connecting two patches by sending the second patch the IP address of the first patch.
i would use some magic in a startup script which queries the IP address and then saves it to a file or sends it to pd using the "-send" flag when starting pd (i would prefer the later as it needs no additional files)
or you could you use [netclient] and [netserver] from maxlib to send in both direction with only one connection.
roman
Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx
Hi Urs,
Urs Liska wrote:
I would like to simplify the process of connecting two patches by sending the second patch the IP address of the first patch.
Some folks from "The Hub", along with Ross Bencina of "AudioMulch" fame, have been working on an OSC system for collaborative performances involving a server-app which handles the routing for you. IP addresses are replaced with simple IDs, and it looks fairly plug-and-play. Unfortunately, besides some undocumented PD patches for using this system, that's all I can share with you.
I got this info from Scot Gresham-Lancaster, who is CC'd here in the hopes that he can send a proper URL to some docs. (Scot, you can reply to me and I'll forward to the PD list if you aren't subscribed and don't want to be!)
best, derek
Some folks from "The Hub", along with Ross Bencina of "AudioMulch" fame, have been working on an OSC system for collaborative performances involving a server-app which handles the routing for you. IP addresses are replaced with simple IDs, and it looks fairly plug-and-play. Unfortunately, besides some undocumented PD patches for using this system, that's all I can share with you.
-See: http://www.audiomulch.com/~rossb/code/oscgroups/
AvS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .....................................................................
` |Schreck Ensemble . . . . . . . . . . . . . . . . . . . . +
` |# -laboratory for live electro-acoustic music- # |
| http://www.schreck.nl/ |
| http://www.xs4all.nl/~schreck/ |
` *===========================================================++
` |Compositions http://www.xs4all.nl/~schreck/html/compo.html |
` |Samples http://www.xs4all.nl/~schreck/html/samp.html |
` |Patches http://www.xs4all.nl/~schreck/html/pat.html |
` |Videos http://www.xs4all.nl/~schreck/html/video.html |
` |Scores http://www.xs4all.nl/~schreck/html/scores.html |
*===========================================================++
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .....................................................................
Thanks for all the answers,
I'll check it all out as soon as I can get my eyes open again (after 12 hours of staring at several screens...
Bye for tonight Urs
Arie van Schutterhoef schrieb:
Some folks from "The Hub", along with Ross Bencina of "AudioMulch" fame, have been working on an OSC system for collaborative performances involving a server-app which handles the routing for you. IP addresses are replaced with simple IDs, and it looks fairly plug-and-play. Unfortunately, besides some undocumented PD patches for using this system, that's all I can share with you.
-See: http://www.audiomulch.com/~rossb/code/oscgroups/
AvS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .....................................................................
` |Schreck Ensemble . . . . . . . . . . . . . . . . . . . . +
` |# -laboratory for live electro-acoustic music- # | | http://www.schreck.nl/ | | http://www.xs4all.nl/~schreck/ | ` *===========================================================++ ` |Compositions http://www.xs4all.nl/~schreck/html/compo.html | ` |Samples http://www.xs4all.nl/~schreck/html/samp.html | ` |Patches http://www.xs4all.nl/~schreck/html/pat.html | ` |Videos http://www.xs4all.nl/~schreck/html/video.html | ` |Scores http://www.xs4all.nl/~schreck/html/scores.html | *===========================================================++
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .....................................................................
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Sounds like I should finish my multicast DNS objects (aka Rendezvous
aka Bonjour). They would make it really easy to do service
advertisement and discovery on local networks. The grand plan to so
have advertisement built into the [netserver] object.
.hc
On Sep 27, 2005, at 4:54 AM, derek holzer wrote:
Hi Urs,
Urs Liska wrote:
I would like to simplify the process of connecting two patches by
sending the second patch the IP address of the first patch.Some folks from "The Hub", along with Ross Bencina of "AudioMulch"
fame, have been working on an OSC system for collaborative
performances involving a server-app which handles the routing for you.
IP addresses are replaced with simple IDs, and it looks fairly
plug-and-play. Unfortunately, besides some undocumented PD patches for
using this system, that's all I can share with you.I got this info from Scot Gresham-Lancaster, who is CC'd here in the
hopes that he can send a proper URL to some docs. (Scot, you can reply
to me and I'll forward to the PD list if you aren't subscribed and
don't want to be!)best, derek
--
derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 139: "Revaluation (a warm feeling)"
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
"Terrorism is not an enemy. It cannot be defeated. It's a tactic.
It's about as sensible to say we declare war on night attacks and
expect we're going to win that war. We're not going to win the war on
terrorism."
-
retired U.S. Army general, William Odom