Spencer Salazarosc test fix attempt10ad43410 years agoHistory
35 lines · 460 B · Text
RawDownload
 OscIn oin;OscMsg msg; 12001 => int OSC_PORT; OSC_PORT => oin.port;oin.addAddress( "/test" ); spork ~ send(); oin => now; oin.recv(msg); if(msg.getString(0) == "hello!")    <<< "success" >>>;else    <<< "failure" >>>; fun void send(){    1::samp => now;        while(true)    {        OscOut xmit;        xmit.dest( "localhost", OSC_PORT );           xmit.start( "/test" ).add("hello!").send();                1::second => now;    }}  

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t