[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] OSC port numbers



/*



I'm not sure if sclang has a port number... doesn't it simply send messages to a port (represented by a server)?

If you want to create your own server, you could do something like this:

s = Server.new("Mine", NetAddr("127.0.0.1",57130)).makeWindow;
s.boot;

Hope that helps,

Josh

On May 1, 2004, at 6:11 PM, solar wrote:

Hi there,

how do I find the OSC portnumber of sclang. I thought that the port numbers for server and lang were fixed to 57110 and 57120, respectively. It seems that they can change. Can I choose them myself?

*/

the sclang port is hardcoded in the c++ sources, to 57120.
the server port can be assigned as Josh showed it.
--








.