NetAddr.localAddr; thisProcess.openUDPPort(7771); // attempt to open 1121 thisProcess.openPorts; // list all open ports n = NetAddr.new("127.0.0.1", 7771); // create the NetAddr OSCFunc.trace(true); // Turn posting on OSCFunc.trace(false); // Turn posting off o = OSCFunc({ arg msg, time, addr, recvPort; [msg].postln; }, '/sc', n); o.free; // remove the osc function when you're done