2020-12-22 22:53:57 +01:00
|
|
|
/* SEND OSC */
|
2021-10-04 22:24:01 +02:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <lo/lo.h>
|
|
|
|
|
|
|
|
#define REMOTE_HOST "localhost"
|
|
|
|
#define REMOTE_PORT "9000"
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
lo_address loana;
|
|
|
|
int foo;
|
|
|
|
|
|
|
|
loana = lo_address_new(REMOTE_HOST, REMOTE_PORT);
|
|
|
|
foo = lo_send(loana, "/dev/kmem", "is", 61, "meg, efface !");
|
|
|
|
fprintf(stderr, "foo %d\n", foo);
|
|
|
|
return 0;
|
|
|
|
}
|