-
... il = Hail(~addrBook); ) //fake another participant ~hail2 = Hail(me: Peer(\me2, NetAddr.localAddr)); // \me2 goes offline ~hail2.free; //cleanup ~hail.free; ~win.close; //////////////////////// // Equivalent example using Registrar (central ...
-
... t a running session. For server and client side support, see Republic See also: NetAddr , OSCresponder *new(broadcastAddr, republicName) Return a new instance, which is already listening for incoming network messages. broadcastAddr - The Ne ...
-
... network, // and thru port 8999 like a direct flatcat; // should work to wake up NetAddr.broadcastFlag = true; NTMI.flatcat.fwdAddrs = List[ NetAddr("192.168.4.195", 8999) ]; NTMI.flatcat.fwdFunc = OSCFunc({ |msg| NTMI.flatcat.fwdAddrs.do(_. ...
-
// implements a NetAddr that can have multiple ports... NetAddrMP : NetAddr { var <>ports; *new { arg hostname, ports; ports = ports.asArray; ^super.new(hostname, ports.first).ports_(ports) } sendRaw{ arg rawArray; ports.do{ |it| this.port_ ...
-
... oad the "touchosc wfs" scene (in this folder) to your touchosc device, and play NetAddr.langPort.postln; // make sure your touchosc device talks to this port ( UScore( UChain( 'whiteNoise', [ 'cutFilter', [ 'freq', [ 20, 800 ] ] ], [ 'tremo ...
-
... to work with remote applications as though they were native and local. RPC(name,netAddr,sendAPI,receiveAPI) name a unique name for the other app netAddr a NetAddr object with IP and port sendAPI (optional) the paths that the other app respo ...
-
... stName, synthDefDir, clientID = 0| var names, adresses; startAddr = startAddr ? NetAddr( "127.0.0.1", 58000 ); options = options ? Server.default.options; names = { |i| startName ++ (i+1); } ! n; adresses = { |i| NetAddr( startAddr.hostname ...
-
... rs and their servers. // make some ( ~rad = RepAddrBook.new; ~p1 = RepPeer(\p1, NetAddr("1.1.1.1", 57120), true); ~p2 = RepPeer(\p2, NetAddr("1.1.1.2", 57120), true); ~p3 = RepPeer(\p3, NetAddr("1.1.1.3", 57120), true); ~p4 = RepPeer(\p4, N ...
-
... te(filename)}; } } // reads a data network log and plays it SpatDifPlayer { var netAddr; // direction where to send data var file; var fileStrings, metaSection; var timeStamps, spatDifCommands; var deltas; // difference times between timest ...
-
... init } makeDefault { default = this } init { broadcastAddr = broadcastAddr ?? { NetAddrMP("255.255.255.255", 57120 + (0..7)) }; // broadcastAddr.checkServesLangPort; this.switchBroadcast(true); addrs = (); nameList = List.new; presence = () ...