24 const char testdata[6] = 
"ABCDE";
 
   26 int main(
int argc, 
char *argv[])
 
   36     if (argc > 1 && argv[1][0] == 
'-' && argv[1][1] == 
'q') {
 
   38         if (
lo_send(t, 
"/quit", NULL) == -1) {
 
   45         if (
lo_send(t, 
"/foo/bar", 
"ff", 0.12345678f, 23.0f) == -1) {
 
   52         lo_send(t, 
"/a/b/c/d", 
"sfsff", 
"one", 0.12345678f, 
"three",
 
   53                 -0.00000023001f, 1.0);
 
   56         lo_send(t, 
"/a/b/c/d", 
"b", btest);
 
   59         lo_send(t, 
"/blobtest", 
"b", btest);
 
   62         lo_send(t, 
"/jamin/scene", 
"i", 2);
 
  
lo_blob lo_blob_new(int32_t size, const void *data)
Create a new OSC blob type.
void * lo_blob
A object to store an opaque binary data object.
int lo_address_errno(lo_address a)
Return the error number from the last failed lo_send() or lo_address_new() call.
const char * lo_address_errstr(lo_address a)
Return the error string from the last failed lo_send() or lo_address_new() call.
int lo_send(lo_address targ, const char *path, const char *type,...)
Send a OSC formatted message to the address specified.
void * lo_address
A reference to an OSC service.
lo_address lo_address_new(const char *host, const char *port)
Declare an OSC destination, given IP address and port number. Same as lo_address_new_with_proto(),...