We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › How does oscP5 determine LOCAL IP
Page Index Toggle Pages: 1
How does oscP5 determine LOCAL IP? (Read 726 times)
How does oscP5 determine LOCAL IP?
May 6th, 2010, 9:14am
 
Hi all.

I am running fedora 12 and am trying to run the sparkfun OSC/Arduino tutorial.

It works as advertised on my vista machine but when I try the same code on linux, osc listens to the loopback ip 127.0.0.1 instead of my wireless network internal ip.

Is there a way to manually set which ip to listen on or just the port?

Is this a java thing?

Here is the log:


### [2010/5/6 11:55:30] PROCESS @ OscP5 stopped.
### [2010/5/6 11:55:31] PROCESS @ UdpClient.openSocket udp socket initialized.
### [2010/5/6 11:55:32] PROCESS @ UdpServer.start() new Unicast DatagramSocket created @ port 8000
### [2010/5/6 11:55:32] PROCESS @ UdpServer.run() UdpServer is running @ 8000
### [2010/5/6 11:55:32] INFO @ OscP5 is running. you (127.0.0.1) are listening @ port 8000
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
RXTX Warning:  Removing stale lock file. /var/lock/LCK..ttyS0
Page Index Toggle Pages: 1