« Return to Thread: NetAddr

NetAddr

by Oswald Berthold-2 :: Rate this Message:

Reply to Author | View in Thread

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


hi

the problem is that pd is most likely not sending from 57120. the
sendOSC object would need a method for setting its outgoing
portnumber.

to check, you can do a netstat on the sending machine, determine the
port used and put that into your NetAddr manually.

bst, opt


William Brent writes:
 > Hi,
 >
 > I'm using Pd/Gem to do some motion tracking - sending particular OSC
 > messages to SuperCollider when certain areas of the video have motion.  The
 > only way I'm getting successful communication is to have the addr argument
 > of OSCresponder set to nil.  When I specify a NetAddr for the video tracking
 > computer in the standard way described in the helpfile, communication fails:
 >
 > n = NetAddr("192.168.1.66", 57120);
 >
 > o = OSCresponder(n, '/movement/1', { |t, r, msg| msg[1].postln }).add;
 >
 > On the Pd side, things are the same either way: I make a connection to the
 > SC machine's address, and start sending messages.  So the only difference
 > between communication vs. failure is whether or not the OSCresponder
 > acknowledges messages from anywhere, or only from a specific address.  I
 > guess this is just as much a question for people on the Pd list, since it
 > might be the way messages are coming out of Pd.
 >
 > But maybe someone has already been down this path?  It would be nice to
 > limit the awareness of this OSCr to one address.
 >
 >
 > As usual, thanks...
 > William
 >
 >
 > --
 > William Brent
 >
 > "Great minds flock together"
 > Conflations: conversational idiom for the 21st century
 >
 > www.conflations.com
 > _______________________________________________
 > sc-users mailing list
 > sc-users@...
 > http://lists.create.ucsb.edu/mailman/listinfo/sc-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFHzHSu7u+hhWCy2kMRAncQAKCSqvH81ecbUu5P12uCzp8yfXxgKQCgqxV7
Pb7qM1K1gYwRecX1sQK9VtY=
=pNsD
-----END PGP SIGNATURE-----
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

 « Return to Thread: NetAddr