[OSC_dev] using oscgroups for routing between apps on a singlemachine

Ross Bencina rossb-lists at audiomulch.com
Mon Apr 28 02:41:57 PDT 2008


Hi Tim

Yeah. The way the sockets are multiplexed doesn't really support the way you want to set things up at the moment.

1) I think the main issue you need to sove is supporting multiple client applications on a single machine. The simplest way to solve this would be to support multiple localrxports (just keep a vector of them and forward incoming traffic to all of them). This wouldn't give each client application its own oscgroup user name, but it might be enough.

2) Point-to-point routing is a bit different, and means being able to address OSC packets to specific users (endpoints) rather than broadcasting them out to every listener. My idea for this would be to just routing messages within the osc packets sent to oscgroups so it knows which client(s) to forward to.

Much as I would like to help you implement this, my schedule is pretty busy at the moment. Feel free to take a look at the code and ask questions if things seem unclear.

Cheers

Ross.




  ----- Original Message ----- 
  From: Tim Thompson 
  To: osc_dev at create.ucsb.edu 
  Sent: Saturday, April 19, 2008 2:49 PM
  Subject: [OSC_dev] using oscgroups for routing between apps on a singlemachine


  I'd like to use oscgroups ( http://www.audiomulch.com/~rossb/code/oscgroups/ )

  for routing messages between applications.  I've got it working in an environment where each application

  and the server run on separate machines, but I'd like to route messages between applications on the same machine,

  and I haven't been able to figure out how to do that.  If I run only one OscGroupClient, multiple applications 

  can't all listen to its output port simultaneously, and if I try to run  two OscGroupClient's on the same machine,

  things seem to get confused.  In the README of oscgroups, Ross says that one of the planned   extensions is

  "point-to-point routing in OscGroupClient", which sounds like what I would want.   Does anyone know of a way

  to use oscgroups with multiple applications (that all want to access the tx and rx ports of OscGroupClient)

  on the same machine?   Has anyone extended OscGroupClient to do point-to-point routing?

   

          ...Tim...



------------------------------------------------------------------------------


  _______________________________________________
  OSC_dev mailing list
  OSC_dev at create.ucsb.edu
  http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.create.ucsb.edu/pipermail/osc_dev/attachments/20080428/62bab70c/attachment.html 


More information about the OSC_dev mailing list